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

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

Issue 2474603002: Don't include LayoutObject-derived headers where not needed. (Closed)
Patch Set: Created 4 years, 1 month 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/HTMLMeterElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp b/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
index 242cf92c84abcb4a017f1e3d64f12a26bcb38415..7715f092ed88106224b4bac15fc5388a9efb004e 100644
--- a/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMeterElement.cpp
@@ -30,7 +30,6 @@
#include "core/html/HTMLContentElement.h"
#include "core/html/HTMLDivElement.h"
#include "core/html/parser/HTMLParserIdioms.h"
-#include "core/layout/LayoutObject.h"
#include "core/style/ComputedStyle.h"
namespace blink {
@@ -62,7 +61,7 @@ LayoutObject* HTMLMeterElement::createLayoutObject(const ComputedStyle& style) {
default:
break;
}
- return LayoutObject::createObject(this, style);
+ return LabelableElement::createLayoutObject(style);
}
void HTMLMeterElement::parseAttribute(const QualifiedName& name,
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698