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

Unified Diff: Source/core/html/HTMLFrameSetElement.cpp

Issue 18565005: Revert "Rewrite parseFrameSetListOfDimension to match HTML5" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/html/HTMLDimension.cpp ('k') | Source/core/platform/Length.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameSetElement.cpp
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp
index 02d929f04f48ed1603889d8af0b5413c5c151eef..6ae06a4333bd124237e3626a00e06f8aa5c37b18 100644
--- a/Source/core/html/HTMLFrameSetElement.cpp
+++ b/Source/core/html/HTMLFrameSetElement.cpp
@@ -33,10 +33,10 @@
#include "core/dom/MouseEvent.h"
#include "core/dom/NodeRenderingContext.h"
#include "core/html/HTMLCollection.h"
-#include "core/html/HTMLDimension.h"
#include "core/html/HTMLFrameElement.h"
#include "core/loader/FrameLoaderClient.h"
#include "core/page/Frame.h"
+#include "core/platform/Length.h"
#include "core/rendering/RenderFrameSet.h"
namespace WebCore {
@@ -81,12 +81,12 @@ void HTMLFrameSetElement::parseAttribute(const QualifiedName& name, const Atomic
{
if (name == rowsAttr) {
if (!value.isNull()) {
- m_rowLengths = parseListOfDimensions(value.string());
+ m_rowLengths = parseFrameSetListOfDimensions(value.string());
setNeedsStyleRecalc();
}
} else if (name == colsAttr) {
if (!value.isNull()) {
- m_colLengths = parseListOfDimensions(value.string());
+ m_colLengths = parseFrameSetListOfDimensions(value.string());
setNeedsStyleRecalc();
}
} else if (name == frameborderAttr) {
« no previous file with comments | « Source/core/html/HTMLDimension.cpp ('k') | Source/core/platform/Length.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698