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

Unified Diff: Source/core/rendering/RenderTextControlPlaceholder.cpp

Issue 129873004: RenderBlock::isSelfCollapsingBlock() should only be used when an object does not require layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update Created 6 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: Source/core/rendering/RenderTextControlPlaceholder.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTSpan.cpp b/Source/core/rendering/RenderTextControlPlaceholder.cpp
similarity index 74%
copy from Source/core/rendering/svg/RenderSVGTSpan.cpp
copy to Source/core/rendering/RenderTextControlPlaceholder.cpp
index 5f34538620ba7d92041f7911df853581001b14bd..1b25596db7f4935d983e11827a50d197fcc75c10 100644
--- a/Source/core/rendering/svg/RenderSVGTSpan.cpp
+++ b/Source/core/rendering/RenderTextControlPlaceholder.cpp
@@ -1,8 +1,5 @@
/*
- * This file is part of the WebKit project.
- *
- * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
- * Copyright (C) 2006 Apple Computer Inc.
+ * Copyright (C) 2014 Robert Hogan <robert@roberthogan.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -21,13 +18,16 @@
*/
#include "config.h"
-
-#include "core/rendering/svg/RenderSVGTSpan.h"
+#include "core/rendering/RenderTextControlPlaceholder.h"
namespace WebCore {
-RenderSVGTSpan::RenderSVGTSpan(Element* element)
- : RenderSVGInline(element)
+RenderTextControlPlaceholder::RenderTextControlPlaceholder(Element* element)
+ : RenderBlockFlow(element)
+{
+}
+
+RenderTextControlPlaceholder::~RenderTextControlPlaceholder()
{
}

Powered by Google App Engine
This is Rietveld 408576698