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

Unified Diff: third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp

Issue 1958563002: Do not use LayoutProgress for a UA shadow element of a PROGRESS element. (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/shadow/ProgressShadowElement.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp b/third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp
index 2f09229e13480fc32f186aaea93e5693cd845aea..4ee7485ae7563ae50a60e0b7ecfea3de86c0d808 100644
--- a/third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/ProgressShadowElement.cpp
@@ -32,7 +32,7 @@
#include "core/HTMLNames.h"
#include "core/html/HTMLProgressElement.h"
-#include "core/layout/LayoutProgress.h"
+#include "core/layout/LayoutObject.h"
namespace blink {
@@ -61,11 +61,6 @@ inline ProgressInnerElement::ProgressInnerElement(Document& document)
DEFINE_NODE_FACTORY(ProgressInnerElement)
-LayoutObject* ProgressInnerElement::createLayoutObject(const ComputedStyle&)
-{
- return new LayoutProgress(this);
-}
-
bool ProgressInnerElement::layoutObjectIsNeeded(const ComputedStyle& style)
{
if (progressElement()->openShadowRoot())

Powered by Google App Engine
This is Rietveld 408576698