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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp

Issue 2625303002: Fix CSSPropertySetterGetterMethods regression (Closed)
Patch Set: fix Created 3 years, 11 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: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
index 5ed814d50ebcc68c5d53ba7d7eb9291dbce41f97..2a32bca17696016979095378fd18a9e0070696ac 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
@@ -689,13 +689,13 @@ void ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline(
// script.
if (isEnclosingBlock(element)) {
element->style()->setPropertyInternal(CSSPropertyDisplay, String(),
- "inline", false, nullptr,
+ "inline", false,
IGNORE_EXCEPTION_FOR_TESTING);
}
if (element->layoutObject() &&
element->layoutObject()->style()->isFloating()) {
element->style()->setPropertyInternal(CSSPropertyFloat, String(),
- "none", false, nullptr,
+ "none", false,
IGNORE_EXCEPTION_FOR_TESTING);
}
}

Powered by Google App Engine
This is Rietveld 408576698