| Index: Source/WebKit/chromium/src/WebPopupMenuImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp b/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp
|
| index 81c2259326acfdb77f023d1241d9de6b090e0ec6..4fcd4c1372d46081ea23d976aec08b801d1c12fb 100644
|
| --- a/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp
|
| @@ -47,9 +47,9 @@
|
| #include "core/platform/chromium/FramelessScrollView.h"
|
| #include "core/platform/chromium/PopupContainer.h"
|
| #include "core/platform/chromium/PopupMenuChromium.h"
|
| +#include "core/platform/graphics/GraphicsContext.h"
|
| #include "core/platform/graphics/IntRect.h"
|
| #include "core/platform/graphics/skia/SkiaUtils.h"
|
| -#include "painting/GraphicsContextBuilder.h"
|
| #include <public/WebRect.h>
|
|
|
| using namespace WebCore;
|
| @@ -194,8 +194,7 @@ void WebPopupMenuImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOption
|
| return;
|
|
|
| if (!rect.isEmpty()) {
|
| - GraphicsContextBuilder builder(canvas);
|
| - GraphicsContext& context = builder.context();
|
| + GraphicsContext context(canvas);
|
| context.applyDeviceScaleFactor(m_client->deviceScaleFactor());
|
| m_widget->paint(&context, rect);
|
| }
|
|
|