Title: [159224] trunk/Source/WebCore
Revision
159224
Author
[email protected]
Date
2013-11-13 12:44:41 -0800 (Wed, 13 Nov 2013)

Log Message

Remove ChromeClient::paintCustomOverhangArea
https://bugs.webkit.org/show_bug.cgi?id=124304

Reviewed by Beth Dakin.

This function always returns false now; get rid of it.

* page/Chrome.cpp:
* page/ChromeClient.h:
* page/FrameView.cpp:
(WebCore::FrameView::paintOverhangAreas):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (159223 => 159224)


--- trunk/Source/WebCore/ChangeLog	2013-11-13 20:30:29 UTC (rev 159223)
+++ trunk/Source/WebCore/ChangeLog	2013-11-13 20:44:41 UTC (rev 159224)
@@ -1,3 +1,17 @@
+2013-11-13  Anders Carlsson  <[email protected]>
+
+        Remove ChromeClient::paintCustomOverhangArea
+        https://bugs.webkit.org/show_bug.cgi?id=124304
+
+        Reviewed by Beth Dakin.
+
+        This function always returns false now; get rid of it.
+
+        * page/Chrome.cpp:
+        * page/ChromeClient.h:
+        * page/FrameView.cpp:
+        (WebCore::FrameView::paintOverhangAreas):
+
 2013-11-09  Martin Robinson  <[email protected]>
 
         [MathML] The double bar vertical delimiter does not stretch properly

Modified: trunk/Source/WebCore/page/Chrome.cpp (159223 => 159224)


--- trunk/Source/WebCore/page/Chrome.cpp	2013-11-13 20:30:29 UTC (rev 159223)
+++ trunk/Source/WebCore/page/Chrome.cpp	2013-11-13 20:44:41 UTC (rev 159224)
@@ -570,11 +570,6 @@
     return String();
 }
 
-bool ChromeClient::paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&)
-{
-    return false;
-}
-
 bool Chrome::selectItemWritingDirectionIsNatural()
 {
     return m_client.selectItemWritingDirectionIsNatural();

Modified: trunk/Source/WebCore/page/ChromeClient.h (159223 => 159224)


--- trunk/Source/WebCore/page/ChromeClient.h	2013-11-13 20:30:29 UTC (rev 159223)
+++ trunk/Source/WebCore/page/ChromeClient.h	2013-11-13 20:44:41 UTC (rev 159224)
@@ -212,8 +212,6 @@
     virtual bool shouldReplaceWithGeneratedFileForUpload(const String& path, String& generatedFilename);
     virtual String generateReplacementFile(const String& path);
 
-    virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&);
-
 #if ENABLE(INPUT_TYPE_COLOR)
     virtual PassOwnPtr<ColorChooser> createColorChooser(ColorChooserClient*, const Color&) = 0;
 #endif

Modified: trunk/Source/WebCore/page/FrameView.cpp (159223 => 159224)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-11-13 20:30:29 UTC (rev 159223)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-11-13 20:44:41 UTC (rev 159224)
@@ -3602,9 +3602,6 @@
     if (frame().document()->printing())
         return;
 
-    if (frame().isMainFrame() && frame().page()->chrome().client().paintCustomOverhangArea(context, horizontalOverhangArea, verticalOverhangArea, dirtyRect))
-        return;
-
     ScrollView::paintOverhangAreas(context, horizontalOverhangArea, verticalOverhangArea, dirtyRect);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to