Index: chrome/renderer/print_web_view_helper.cc |
=================================================================== |
--- chrome/renderer/print_web_view_helper.cc (revision 97282) |
+++ chrome/renderer/print_web_view_helper.cc (working copy) |
@@ -39,8 +39,8 @@ |
#if defined(USE_SKIA) |
#include "base/string_number_conversions.h" |
#include "skia/ext/vector_canvas.h" |
-#include "skia/ext/vector_platform_device_skia.h" |
#include "third_party/skia/include/core/SkTypeface.h" |
+#include "third_party/skia/include/pdf/SkPDFDevice.h" |
#endif // defined(USE_SKIA) |
using base::Time; |
@@ -190,7 +190,7 @@ |
float webkit_scale_factor, |
const PageSizeMargins& page_layout, |
const DictionaryValue& header_footer_info) { |
- static_cast<skia::VectorPlatformDeviceSkia*>(device)->setDrawingArea( |
+ static_cast<SkPDFDevice*>(device)->setDrawingArea( |
SkPDFDevice::kMargin_DrawingArea); |
SkPaint paint; |
@@ -251,7 +251,7 @@ |
footer_bounds.bottom()); |
} |
- static_cast<skia::VectorPlatformDeviceSkia*>(device)->setDrawingArea( |
+ static_cast<SkPDFDevice*>(device)->setDrawingArea( |
SkPDFDevice::kContent_DrawingArea); |
} |
#endif // defined(USE_SKIA) |