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

Unified Diff: content/plugin/webplugin_proxy.cc

Issue 1618703006: Remove duplicate typedef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to remove spurious dependency Created 4 years, 11 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
Index: content/plugin/webplugin_proxy.cc
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc
index f9ce4a3af074e07221ea291afeeabff3338531df..c03b4fdef45ad970251c6edd0c6f8ab7279a5990 100644
--- a/content/plugin/webplugin_proxy.cc
+++ b/content/plugin/webplugin_proxy.cc
@@ -305,7 +305,7 @@ void WebPluginProxy::Paint(const gfx::Rect& rect) {
#else
// See above comment about windowless_context_ changing.
// http::/crbug.com/139462
- skia::RefPtr<skia::PlatformCanvas> saved_canvas = windowless_canvas();
+ skia::RefPtr<SkCanvas> saved_canvas = windowless_canvas();
saved_canvas->save();
@@ -376,7 +376,7 @@ void WebPluginProxy::UpdateGeometry(
void WebPluginProxy::CreateCanvasFromHandle(
const TransportDIB::Handle& dib_handle,
const gfx::Rect& window_rect,
- skia::RefPtr<skia::PlatformCanvas>* canvas) {
+ skia::RefPtr<SkCanvas>* canvas) {
*canvas = skia::AdoptRef(skia::CreatePlatformCanvas(
window_rect.width(), window_rect.height(), true, dib_handle.GetHandle(),
skia::RETURN_NULL_ON_FAILURE));

Powered by Google App Engine
This is Rietveld 408576698