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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 125109: Refactor the PlatformContext layer to have only one class. (Closed)
Patch Set: Created 11 years, 6 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 | « chrome/renderer/print_web_view_helper.cc ('k') | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_proxy.cc
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index b00687c06dc01323bb0a736e8f3cb91fcc29828e..87d3ec1957d319a85ec03f55a92f59f17a684ab2 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -432,7 +432,7 @@ bool WebPluginDelegateProxy::CreateBitmap(
if (!new_shared_memory->Create(L"", false, true, size))
return false;
- scoped_ptr<skia::PlatformCanvasWin> new_canvas(new skia::PlatformCanvasWin);
+ scoped_ptr<skia::PlatformCanvas> new_canvas(new skia::PlatformCanvas);
if (!new_canvas->initialize(plugin_rect_.width(), plugin_rect_.height(),
true, new_shared_memory->handle())) {
return false;
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698