Title: [143146] trunk/Source/WebKit2
- Revision
- 143146
- Author
- [email protected]
- Date
- 2013-02-17 21:53:12 -0800 (Sun, 17 Feb 2013)
Log Message
Remove unnecessary public method DrawingAreaImpl::createGraphicsContext()
https://bugs.webkit.org/show_bug.cgi?id=109893
Patch by Jae Hyun Park <[email protected]> on 2013-02-17
Reviewed by Anders Carlsson.
DrawingAreaImpl::createGraphicsContext() is unnecessary since
createGraphicsContext can be called directly using ShareableBitmap.
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::display):
* WebProcess/WebPage/DrawingAreaImpl.h:
(DrawingAreaImpl):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (143145 => 143146)
--- trunk/Source/WebKit2/ChangeLog 2013-02-18 05:51:49 UTC (rev 143145)
+++ trunk/Source/WebKit2/ChangeLog 2013-02-18 05:53:12 UTC (rev 143146)
@@ -1,3 +1,18 @@
+2013-02-17 Jae Hyun Park <[email protected]>
+
+ Remove unnecessary public method DrawingAreaImpl::createGraphicsContext()
+ https://bugs.webkit.org/show_bug.cgi?id=109893
+
+ Reviewed by Anders Carlsson.
+
+ DrawingAreaImpl::createGraphicsContext() is unnecessary since
+ createGraphicsContext can be called directly using ShareableBitmap.
+
+ * WebProcess/WebPage/DrawingAreaImpl.cpp:
+ (WebKit::DrawingAreaImpl::display):
+ * WebProcess/WebPage/DrawingAreaImpl.h:
+ (DrawingAreaImpl):
+
2013-02-17 Sudarsana Nagineni <[email protected]>
[WK2][EFL] Remove fullscreen manager proxy as a message receiver on invalidate()
Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (143145 => 143146)
--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp 2013-02-18 05:51:49 UTC (rev 143145)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp 2013-02-18 05:53:12 UTC (rev 143146)
@@ -652,11 +652,6 @@
return wastedSpace <= wastedSpaceThreshold;
}
-PassOwnPtr<GraphicsContext> DrawingAreaImpl::createGraphicsContext(ShareableBitmap* bitmap)
-{
- return bitmap->createGraphicsContext();
-}
-
void DrawingAreaImpl::display(UpdateInfo& updateInfo)
{
ASSERT(!m_isPaintingSuspended);
@@ -707,7 +702,7 @@
m_scrollRect = IntRect();
m_scrollOffset = IntSize();
- OwnPtr<GraphicsContext> graphicsContext = createGraphicsContext(bitmap.get());
+ OwnPtr<GraphicsContext> graphicsContext = bitmap->createGraphicsContext();
graphicsContext->applyDeviceScaleFactor(deviceScaleFactor);
updateInfo.updateRectBounds = bounds;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h (143145 => 143146)
--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h 2013-02-18 05:51:49 UTC (rev 143145)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.h 2013-02-18 05:53:12 UTC (rev 143146)
@@ -101,7 +101,6 @@
void displayTimerFired();
void display();
void display(UpdateInfo&);
- PassOwnPtr<WebCore::GraphicsContext> createGraphicsContext(ShareableBitmap*);
uint64_t m_backingStoreStateID;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes