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

Unified Diff: Source/core/editing/markup.cpp

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: (Hopefully) Builds with oilpan now Created 5 years, 6 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: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 505ecad6725a34c1cf7738181d4dbce1b3888e99..0a2912be466b5d6d5d2b7f6e5463dc89a02b03a4 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -162,12 +162,12 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert
{
if (!style)
return false;
- RefPtrWillBeRawPtr<CSSValue> value = style->getPropertyCSSValue(propertyID);
+ NullableCSSValue value = style->getPropertyCSSValue(propertyID);
if (!value)
return true;
if (!value->isPrimitiveValue())
return false;
- return toCSSPrimitiveValue(value.get())->getValueID() == CSSValueNone;
+ return toCSSPrimitiveValue(value)->getValueID() == CSSValueNone;
}
static bool isPresentationalHTMLElement(const Node* node)

Powered by Google App Engine
This is Rietveld 408576698