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

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

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 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/WrapContentsInDummySpanCommand.h ('k') | Source/core/editing/WritingDirection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/WrapContentsInDummySpanCommand.cpp
diff --git a/Source/core/editing/WrapContentsInDummySpanCommand.cpp b/Source/core/editing/WrapContentsInDummySpanCommand.cpp
index 593f41fcbbab158ab56a35e009f55cf1a5497331..5013f928bcb41ce13d2d8a479e7c81f4b5d9e02c 100644
--- a/Source/core/editing/WrapContentsInDummySpanCommand.cpp
+++ b/Source/core/editing/WrapContentsInDummySpanCommand.cpp
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
@@ -55,10 +55,10 @@ void WrapContentsInDummySpanCommand::executeApply()
void WrapContentsInDummySpanCommand::doApply()
{
m_dummySpan = createStyleSpanElement(document());
-
+
executeApply();
}
-
+
void WrapContentsInDummySpanCommand::doUnapply()
{
ASSERT(m_element);
@@ -80,7 +80,7 @@ void WrapContentsInDummySpanCommand::doUnapply()
void WrapContentsInDummySpanCommand::doReapply()
{
ASSERT(m_element);
-
+
if (!m_dummySpan || !m_element->rendererIsEditable())
return;
@@ -94,5 +94,5 @@ void WrapContentsInDummySpanCommand::getNodesInCommand(HashSet<Node*>& nodes)
addNodeAndDescendants(m_dummySpan.get(), nodes);
}
#endif
-
+
} // namespace WebCore
« no previous file with comments | « Source/core/editing/WrapContentsInDummySpanCommand.h ('k') | Source/core/editing/WritingDirection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698