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

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

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
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/editing/EditorCommand.cpp ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index 9100f4600864d02d838a9e1507319fd70a85d20c..1e766c5182d30516531d6fd7b88ffeb3b4e707ea 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -167,7 +167,7 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert
return true;
if (!value->isPrimitiveValue())
return false;
- return toCSSPrimitiveValue(value)->getValueID() == CSSValueNone;
+ return toCSSPrimitiveValue(*value).getValueID() == CSSValueNone;
}
static bool isPresentationalHTMLElement(const Node* node)
« no previous file with comments | « Source/core/editing/EditorCommand.cpp ('k') | Source/core/inspector/LayoutEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698