diff options
Diffstat (limited to 'content/renderer/render_widget.cc')
-rw-r--r-- | content/renderer/render_widget.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc index 98d6a4d..7e98d18 100644 --- a/content/renderer/render_widget.cc +++ b/content/renderer/render_widget.cc @@ -549,7 +549,7 @@ void RenderWidget::PaintRect(const gfx::Rect& rect, webwidget_->paint(webkit_glue::ToWebCanvas(canvas), rect); // Flush to underlying bitmap. TODO(darin): is this needed? - canvas->getTopPlatformDevice().accessBitmap(false); + skia::GetTopDevice(*canvas)->accessBitmap(false); } PaintDebugBorder(rect, canvas); |