Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp

Issue 14707008: Remove WebKit::GraphicsContextBuilder, which was trivial. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Undo whitespace change Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp b/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp
index 73a5a86e0769014108f324091a3de0c8a2c3c519..8c9b222b7d7a7dbf417eafea0eb92521fd05c945 100644
--- a/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp
+++ b/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp
@@ -30,10 +30,10 @@
#include "WebViewImpl.h"
#include "core/page/FrameView.h"
#include "core/platform/graphics/FloatSize.h"
+#include "core/platform/graphics/GraphicsContext.h"
#include "core/platform/graphics/GraphicsLayer.h"
#include "core/platform/graphics/IntRect.h"
#include "core/platform/graphics/IntSize.h"
-#include "painting/GraphicsContextBuilder.h"
#include <public/WebCanvas.h>
#include <wtf/CurrentTime.h>
@@ -48,9 +48,9 @@ void WebViewBenchmarkSupportImpl::paintLayer(PaintClient* paintClient, GraphicsL
{
WebSize canvasSize(clip.width(), clip.height());
WebCanvas* canvas = paintClient->willPaint(canvasSize);
- GraphicsContextBuilder builder(canvas);
+ GraphicsContext context(canvas);
- layer.paintGraphicsLayerContents(builder.context(), clip);
+ layer.paintGraphicsLayerContents(context, clip);
paintClient->didPaint(canvas);
}
« no previous file with comments | « Source/WebKit/chromium/src/WebPopupMenuImpl.cpp ('k') | Source/WebKit/chromium/src/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698