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

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

Issue 1397583002: Implement the framework for a paint property hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Job insecurity: better tests, better comments, better names. Created 5 years, 2 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/paint/PaintChunk.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
index b893c2872473187fa7b01d69e31757a8a4922532..1edf9f3738404b9dcfd000c625eef32522c71c68 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h
@@ -5,7 +5,7 @@
#ifndef PaintChunk_h
#define PaintChunk_h
-#include "platform/graphics/paint/PaintProperties.h"
+#include "platform/graphics/paint/PaintChunkProperties.h"
#include <iosfwd>
namespace blink {
@@ -18,7 +18,7 @@ namespace blink {
// This is a Slimming Paint v2 class.
struct PaintChunk {
PaintChunk() : beginIndex(0), endIndex(0) { }
- PaintChunk(unsigned begin, unsigned end, const PaintProperties& props)
+ PaintChunk(unsigned begin, unsigned end, const PaintChunkProperties& props)
: beginIndex(begin), endIndex(end), properties(props) { }
// Index of the first drawing in this chunk.
@@ -29,7 +29,7 @@ struct PaintChunk {
unsigned endIndex;
// The paint properties which apply to this chunk.
- PaintProperties properties;
+ PaintChunkProperties properties;
};
inline bool operator==(const PaintChunk& a, const PaintChunk& b)

Powered by Google App Engine
This is Rietveld 408576698