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

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: Created 5 years, 7 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 379cd98169c98a6c25674d0f1ed21efdf9ad14f5..8cf64cd127005505e9e93cb964ffa6ee0b6247ff 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -161,12 +161,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