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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h

Issue 2690583002: Make cc/paint have concrete types (Closed)
Patch Set: PaintRecord as typedef, fixup playback calls Created 3 years, 9 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: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 8c91ce6632e93917b64a9c68235df25090960daa..f2d03391f911297320463abebe0c19c2ed5e5435 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -33,7 +33,6 @@
#include "platform/graphics/ImageBufferSurface.h"
#include "platform/graphics/paint/PaintCanvas.h"
-#include "platform/graphics/paint/PaintSurface.h"
#include "third_party/skia/include/core/SkRefCnt.h"
namespace blink {
@@ -58,7 +57,8 @@ class PLATFORM_EXPORT UnacceleratedImageBufferSurface
sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override;
private:
- sk_sp<PaintSurface> m_surface;
+ sk_sp<SkSurface> m_surface;
+ std::unique_ptr<PaintCanvas> m_canvas;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698