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

Unified Diff: Source/WebKit/chromium/src/WebPluginScrollbarImpl.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/WebFrameImpl.cpp ('k') | Source/WebKit/chromium/src/WebPopupMenuImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebPluginScrollbarImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebPluginScrollbarImpl.cpp b/Source/WebKit/chromium/src/WebPluginScrollbarImpl.cpp
index b858d82c895e4fef560933a69e7c5fadf835b8b8..2530141d27db5945b2bf8ebf02a752da06a591e5 100644
--- a/Source/WebKit/chromium/src/WebPluginScrollbarImpl.cpp
+++ b/Source/WebKit/chromium/src/WebPluginScrollbarImpl.cpp
@@ -37,7 +37,6 @@
#include "core/platform/ScrollbarTheme.h"
#include "core/platform/chromium/KeyboardCodes.h"
#include "core/platform/graphics/GraphicsContext.h"
-#include "painting/GraphicsContextBuilder.h"
#include <public/WebCanvas.h>
#include <public/WebRect.h>
#include <public/WebVector.h>
@@ -235,7 +234,8 @@ void WebPluginScrollbarImpl::scroll(ScrollDirection direction, ScrollGranularity
void WebPluginScrollbarImpl::paint(WebCanvas* canvas, const WebRect& rect)
{
- m_scrollbar->paint(&GraphicsContextBuilder(canvas).context(), rect);
+ GraphicsContext context(canvas);
+ m_scrollbar->paint(&context, rect);
}
bool WebPluginScrollbarImpl::handleInputEvent(const WebInputEvent& event)
« no previous file with comments | « Source/WebKit/chromium/src/WebFrameImpl.cpp ('k') | Source/WebKit/chromium/src/WebPopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698