Fix capitalization of scheduleinvalidateStyleAndLayerComposition
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Sep 2017 18:17:29 +0000 (18:17 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Sep 2017 18:17:29 +0000 (18:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=176266

Reviewed by Antti Koivisto.

* html/HTMLFrameOwnerElement.cpp:
(WebCore::HTMLFrameOwnerElement::scheduleInvalidateStyleAndLayerComposition):
(WebCore::HTMLFrameOwnerElement::scheduleinvalidateStyleAndLayerComposition): Deleted.
* html/HTMLFrameOwnerElement.h:
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::attachRootLayer):
(WebCore::RenderLayerCompositor::detachRootLayer):
(WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221627 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLFrameOwnerElement.cpp
Source/WebCore/html/HTMLFrameOwnerElement.h
Source/WebCore/rendering/RenderLayerCompositor.cpp

index b955b76..53f7c97 100644 (file)
@@ -1,3 +1,19 @@
+2017-09-05  Simon Fraser  <simon.fraser@apple.com>
+
+        Fix capitalization of scheduleinvalidateStyleAndLayerComposition
+        https://bugs.webkit.org/show_bug.cgi?id=176266
+
+        Reviewed by Antti Koivisto.
+
+        * html/HTMLFrameOwnerElement.cpp:
+        (WebCore::HTMLFrameOwnerElement::scheduleInvalidateStyleAndLayerComposition):
+        (WebCore::HTMLFrameOwnerElement::scheduleinvalidateStyleAndLayerComposition): Deleted.
+        * html/HTMLFrameOwnerElement.h:
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::attachRootLayer):
+        (WebCore::RenderLayerCompositor::detachRootLayer):
+        (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):
+
 2017-09-05  Matt Lewis  <jlewis3@apple.com>
 
         Unreviewed, rolling out r221603.
index 2cf2316..e78b6b1 100644 (file)
@@ -120,7 +120,7 @@ ExceptionOr<Document&> HTMLFrameOwnerElement::getSVGDocument() const
     return Exception { NotSupportedError };
 }
 
-void HTMLFrameOwnerElement::scheduleinvalidateStyleAndLayerComposition()
+void HTMLFrameOwnerElement::scheduleInvalidateStyleAndLayerComposition()
 {
     if (Style::postResolutionCallbacksAreSuspended()) {
         RefPtr<HTMLFrameOwnerElement> element = this;
index 7b184b6..e0d0747 100644 (file)
@@ -55,7 +55,7 @@ public:
 
     SandboxFlags sandboxFlags() const { return m_sandboxFlags; }
 
-    void scheduleinvalidateStyleAndLayerComposition();
+    void scheduleInvalidateStyleAndLayerComposition();
 
     virtual bool isURLAllowed(const URL&) const { return true; }
 
index 319dc5c..7eeb070 100644 (file)
@@ -3541,7 +3541,7 @@ void RenderLayerCompositor::attachRootLayer(RootLayerAttachment attachment)
             // The layer will get hooked up via RenderLayerBacking::updateConfiguration()
             // for the frame's renderer in the parent document.
             if (auto* ownerElement = m_renderView.document().ownerElement())
-                ownerElement->scheduleinvalidateStyleAndLayerComposition();
+                ownerElement->scheduleInvalidateStyleAndLayerComposition();
             break;
         }
     }
@@ -3570,7 +3570,7 @@ void RenderLayerCompositor::detachRootLayer()
             m_rootContentLayer->removeFromParent();
 
         if (HTMLFrameOwnerElement* ownerElement = m_renderView.document().ownerElement())
-            ownerElement->scheduleinvalidateStyleAndLayerComposition();
+            ownerElement->scheduleInvalidateStyleAndLayerComposition();
         break;
     }
     case RootLayerAttachedViaChromeClient: {
@@ -3622,7 +3622,7 @@ void RenderLayerCompositor::notifyIFramesOfCompositingChange()
     // Compositing affects the answer to RenderIFrame::requiresAcceleratedCompositing(), so
     // we need to schedule a style recalc in our parent document.
     if (HTMLFrameOwnerElement* ownerElement = m_renderView.document().ownerElement())
-        ownerElement->scheduleinvalidateStyleAndLayerComposition();
+        ownerElement->scheduleInvalidateStyleAndLayerComposition();
 }
 
 bool RenderLayerCompositor::layerHas3DContent(const RenderLayer& layer) const