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

Unified Diff: Source/core/css/CSSLineBoxContainValue.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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
« no previous file with comments | « Source/core/css/CSSInitialValue.h ('k') | Source/core/css/CSSLineBoxContainValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSLineBoxContainValue.h
diff --git a/Source/core/css/CSSLineBoxContainValue.h b/Source/core/css/CSSLineBoxContainValue.h
index a4cf1f2536ecbdf5b339004cdddba153da74d977..38d0dde826dfa2d58780dc3e3728b369f1b486d6 100644
--- a/Source/core/css/CSSLineBoxContainValue.h
+++ b/Source/core/css/CSSLineBoxContainValue.h
@@ -36,7 +36,7 @@ enum LineBoxContainFlags { LineBoxContainNone = 0x0, LineBoxContainBlock = 0x1,
typedef unsigned LineBoxContain;
// Used for text-CSSLineBoxContain and box-CSSLineBoxContain
-class CSSLineBoxContainValue : public CSSValue {
+class CSSLineBoxContainValue : public CSSValueObject {
public:
static PassRefPtrWillBeRawPtr<CSSLineBoxContainValue> create(LineBoxContain value)
{
@@ -47,7 +47,7 @@ public:
bool equals(const CSSLineBoxContainValue& other) const { return m_value == other.m_value; }
LineBoxContain value() const { return m_value; }
- DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValue::traceAfterDispatch(visitor); }
+ DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValueObject::traceAfterDispatch(visitor); }
private:
LineBoxContain m_value;
« no previous file with comments | « Source/core/css/CSSInitialValue.h ('k') | Source/core/css/CSSLineBoxContainValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698