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

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

Issue 2286843002: Rename DisplayItem::Type enum constants to Chromium style. (Closed)
Patch Set: Rebasing... Created 4 years, 4 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/SubsequenceDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
index e3e9ad52f008a8dca049b04ca6bd78a9733498ce..4caea5499273bb02d4ab82233bd2ca8bbe694eb3 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
@@ -14,20 +14,20 @@ namespace blink {
class BeginSubsequenceDisplayItem final : public PairedBeginDisplayItem {
public:
BeginSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedBeginDisplayItem(client, Subsequence, sizeof(*this))
+ : PairedBeginDisplayItem(client, kSubsequence, sizeof(*this))
{ }
};
class EndSubsequenceDisplayItem final : public PairedEndDisplayItem {
public:
EndSubsequenceDisplayItem(const DisplayItemClient& client)
- : PairedEndDisplayItem(client, EndSubsequence, sizeof(*this))
+ : PairedEndDisplayItem(client, kEndSubsequence, sizeof(*this))
{ }
#if ENABLE(ASSERT)
bool isEndAndPairedWith(DisplayItem::Type otherType) const final
{
- return getType() == EndSubsequence && otherType == Subsequence;
+ return getType() == kEndSubsequence && otherType == kSubsequence;
}
#endif
};

Powered by Google App Engine
This is Rietveld 408576698