[webkit-changes] [WebKit/WebKit] 711120: Reduce use of downcast<>() in WebCore/html

Chris Dumez noreply at github.com
Sun Mar 10 18:04:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 711120e7edec012527620d07bf63d85713a180fd
      https://github.com/WebKit/WebKit/commit/711120e7edec012527620d07bf63d85713a180fd
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-10 (Sun, 10 Mar 2024)

  Changed paths:
    M Source/WebCore/html/HTMLCanvasElement.cpp
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/HTMLMediaElement.h
    M Source/WebCore/html/HTMLVideoElement.cpp
    M Source/WebCore/html/HTMLVideoElement.h
    M Source/WebCore/html/canvas/WebGLUtilities.h
    M Source/WebCore/html/track/TrackEvent.cpp

  Log Message:
  -----------
  Reduce use of downcast<>() in WebCore/html
https://bugs.webkit.org/show_bug.cgi?id=270761

Reviewed by Darin Adler.

* Source/WebCore/html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::createContextWebGL):
(WebCore::HTMLCanvasElement::getContextWebGL):
(WebCore::HTMLCanvasElement::createContextBitmapRenderer):
(WebCore::HTMLCanvasElement::reset):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::setVideoFullscreenStandby): Deleted.
* Source/WebCore/html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::videoFullscreenStandby const):
(WebCore::HTMLMediaElement::setVideoFullscreenStandbyInternal):
* Source/WebCore/html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::setVideoFullscreenStandby):
* Source/WebCore/html/HTMLVideoElement.h:
* Source/WebCore/html/canvas/WebGLUtilities.h:
(WebCore::ScopedWebGLRestoreFramebuffer::~ScopedWebGLRestoreFramebuffer):
* Source/WebCore/html/track/TrackEvent.cpp:
(WebCore::convertToTrackEventTrack):

Canonical link: https://commits.webkit.org/275899@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list