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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/paint/RasterInvalidationTracking.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h b/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
index 45ff6a45986608f0ed33cf7a765950427967df7d..394ba1d2f0fe1c536a60d0ede434775b6774f8cc 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/RasterInvalidationTracking.h
@@ -10,7 +10,7 @@
#include "platform/graphics/PaintInvalidationReason.h"
#include "platform/json/JSONValues.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "third_party/skia/include/core/SkPicture.h"
+#include "skia/ext/cdl_picture.h"
#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
@@ -45,7 +45,7 @@ struct UnderPaintInvalidation {
struct PLATFORM_EXPORT RasterInvalidationTracking {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
Vector<RasterInvalidationInfo> trackedRasterInvalidations;
- sk_sp<SkPicture> lastPaintedPicture;
+ sk_sp<CdlPicture> lastPaintedPicture;
IntRect lastInterestRect;
Region rasterInvalidationRegionSinceLastPaint;
Vector<UnderPaintInvalidation> underPaintInvalidations;

Powered by Google App Engine
This is Rietveld 408576698