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

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

Issue 1292303005: Make core/editing/ files to match Blink coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-18T10:48:50 Created 5 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
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/FrameSelection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditorCommand.cpp
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
index a1decada916616fc5bac614a61f61612afe45368..a88ca75ea153106d17859c77ee7fbb72389fa3b3 100644
--- a/Source/core/editing/EditorCommand.cpp
+++ b/Source/core/editing/EditorCommand.cpp
@@ -150,8 +150,9 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour
if (selectedCSSValueList->length())
newStyle = selectedCSSValueList->cssText();
- } else if (selectedCSSValue->cssText() == "none")
+ } else if (selectedCSSValue->cssText() == "none") {
newStyle = value->cssText();
+ }
// FIXME: We shouldn't be having to convert new style into text. We should have setPropertyCSSValue.
RefPtrWillBeRawPtr<MutableStylePropertySet> newMutableStyle = MutableStylePropertySet::create();
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698