Title: [150446] trunk/Source/WebCore
- Revision
- 150446
- Author
- [email protected]
- Date
- 2013-05-21 09:09:52 -0700 (Tue, 21 May 2013)
Log Message
Remove GraphicsLayerClient::contentsVisible()
https://bugs.webkit.org/show_bug.cgi?id=116523
Patch by Alberto Garcia <[email protected]> on 2013-05-21
Reviewed by Darin Adler.
This is dead code from the BlackBerry port.
* platform/graphics/GraphicsLayerClient.h:
* rendering/RenderLayerBacking.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (150445 => 150446)
--- trunk/Source/WebCore/ChangeLog 2013-05-21 16:05:31 UTC (rev 150445)
+++ trunk/Source/WebCore/ChangeLog 2013-05-21 16:09:52 UTC (rev 150446)
@@ -1,3 +1,15 @@
+2013-05-21 Alberto Garcia <[email protected]>
+
+ Remove GraphicsLayerClient::contentsVisible()
+ https://bugs.webkit.org/show_bug.cgi?id=116523
+
+ Reviewed by Darin Adler.
+
+ This is dead code from the BlackBerry port.
+
+ * platform/graphics/GraphicsLayerClient.h:
+ * rendering/RenderLayerBacking.cpp:
+
2013-05-21 Zan Dobersek <[email protected]>
PLATFORM(*) macros used in Source/WebCore/loader/archive/ArchiveFactory.cpp
Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h (150445 => 150446)
--- trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2013-05-21 16:05:31 UTC (rev 150445)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2013-05-21 16:09:52 UTC (rev 150446)
@@ -98,10 +98,6 @@
// while painting.
virtual void verifyNotPainting() { }
#endif
-
-#if PLATFORM(BLACKBERRY)
- virtual bool contentsVisible(const GraphicsLayer*, const IntRect& contentRect) const { return false; }
-#endif
};
} // namespace WebCore
Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (150445 => 150446)
--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2013-05-21 16:05:31 UTC (rev 150445)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp 2013-05-21 16:09:52 UTC (rev 150446)
@@ -2338,20 +2338,6 @@
return backingMemory;
}
-#if PLATFORM(BLACKBERRY)
-bool RenderLayerBacking::contentsVisible(const GraphicsLayer*, const IntRect& localContentRect) const
-{
- Frame* frame = renderer()->frame();
- FrameView* view = frame ? frame->view() : 0;
- if (!view)
- return false;
-
- IntRect visibleContentRect(view->visibleContentRect());
- FloatQuad absoluteContentQuad = renderer()->localToAbsoluteQuad(FloatRect(localContentRect));
- return absoluteContentQuad.enclosingBoundingBox().intersects(visibleContentRect);
-}
-#endif
-
} // namespace WebCore
#endif // USE(ACCELERATED_COMPOSITING)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes