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

Unified Diff: Source/core/editing/commands/BreakBlockquoteCommand.cpp

Issue 1294543005: Move execCommand related files in core/editing/ related files into core/editing/commands/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-17T17:57:33 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
Index: Source/core/editing/commands/BreakBlockquoteCommand.cpp
diff --git a/Source/core/editing/BreakBlockquoteCommand.cpp b/Source/core/editing/commands/BreakBlockquoteCommand.cpp
similarity index 97%
rename from Source/core/editing/BreakBlockquoteCommand.cpp
rename to Source/core/editing/commands/BreakBlockquoteCommand.cpp
index a36bc5bd358e723e30aa5178fa53347b6803a250..ed94e3a796d77b94442bf6b5ed12aada4268bf6b 100644
--- a/Source/core/editing/BreakBlockquoteCommand.cpp
+++ b/Source/core/editing/commands/BreakBlockquoteCommand.cpp
@@ -24,7 +24,7 @@
*/
#include "config.h"
-#include "core/editing/BreakBlockquoteCommand.h"
+#include "core/editing/commands/BreakBlockquoteCommand.h"
#include "core/HTMLNames.h"
#include "core/dom/NodeTraversal.h"
@@ -200,8 +200,8 @@ void BreakBlockquoteCommand::doApply()
RefPtrWillBeRawPtr<Element> ancestor = nullptr;
RefPtrWillBeRawPtr<Element> clonedParent = nullptr;
for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement();
- ancestor && ancestor != topBlockquote;
- ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement())
+ ancestor && ancestor != topBlockquote;
+ ancestor = ancestor->parentElement(), clonedParent = clonedParent->parentElement())
moveRemainingSiblingsToNewParent(ancestor->nextSibling(), 0, clonedParent);
// If the startNode's original parent is now empty, remove it

Powered by Google App Engine
This is Rietveld 408576698