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

Unified Diff: content/renderer/render_widget.h

Issue 11138024: Simplify platform_canvas.h by recognizing that PlatformCanvas does not actually extend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/renderer/render_widget.h
===================================================================
--- content/renderer/render_widget.h (revision 165342)
+++ content/renderer/render_widget.h (working copy)
@@ -44,10 +44,6 @@
class WebTouchEvent;
}
-namespace skia {
-class PlatformCanvas;
-}
-
namespace ui {
class Range;
}
@@ -224,10 +220,10 @@
// shared memory segment returned by AllocPaintBuf on Windows). The caller
// must ensure that the given rect fits within the bounds of the WebWidget.
void PaintRect(const gfx::Rect& rect, const gfx::Point& canvas_origin,
- skia::PlatformCanvas* canvas);
+ SkCanvas* canvas);
// Paints a border at the given rect for debugging purposes.
- void PaintDebugBorder(const gfx::Rect& rect, skia::PlatformCanvas* canvas);
+ void PaintDebugBorder(const gfx::Rect& rect, SkCanvas* canvas);
bool IsRenderingVSynced();
void AnimationCallback();

Powered by Google App Engine
This is Rietveld 408576698