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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTableElement.cpp

Issue 2008843004: Remove unnecessary inclusions of LayoutObject-derived headers in core/html/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/html/HTMLTableElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
index 642ed2356db485b02efa7d47bff59e847e8c597b..b1920650eb226779df62cb2795b6ae73ee1e6f88 100644
--- a/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTableElement.cpp
@@ -43,7 +43,6 @@
#include "core/html/HTMLTableRowsCollection.h"
#include "core/html/HTMLTableSectionElement.h"
#include "core/html/parser/HTMLParserIdioms.h"
-#include "core/layout/LayoutTable.h"
#include "platform/weborigin/Referrer.h"
#include "wtf/StdLibExtras.h"
@@ -376,7 +375,7 @@ void HTMLTableElement::parseAttribute(const QualifiedName& name, const AtomicStr
m_rulesAttr = AllRules;
} else if (name == cellpaddingAttr) {
if (!value.isEmpty())
- m_padding = max(0, value.toInt());
+ m_padding = std::max(0, value.toInt());
else
m_padding = 1;
} else if (name == colsAttr) {

Powered by Google App Engine
This is Rietveld 408576698