| Index: Source/WebKit/chromium/src/WebFontImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebFontImpl.cpp b/Source/WebKit/chromium/src/WebFontImpl.cpp
|
| index 6797602de90760fea8f4ffc9ca7c54039ccf2fe3..2f7fce86a73174b4388d2fac8a2ae62c51a00f76 100644
|
| --- a/Source/WebKit/chromium/src/WebFontImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebFontImpl.cpp
|
| @@ -39,7 +39,6 @@
|
| #include "core/platform/graphics/FontDescription.h"
|
| #include "core/platform/graphics/GraphicsContext.h"
|
| #include "core/platform/graphics/TextRun.h"
|
| -#include "painting/GraphicsContextBuilder.h"
|
| #include <public/WebFloatPoint.h>
|
| #include <public/WebFloatRect.h>
|
| #include <public/WebRect.h>
|
| @@ -94,9 +93,7 @@ void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFl
|
| int from, int to) const
|
| {
|
| FontCachePurgePreventer fontCachePurgePreventer;
|
| -
|
| - GraphicsContextBuilder builder(canvas);
|
| - GraphicsContext& gc = builder.context();
|
| + GraphicsContext gc(canvas);
|
|
|
| gc.save();
|
| gc.setShouldSmoothFonts(canvasIsOpaque);
|
|
|