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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOptionElement.h

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Support display: contents for elements, first-line and first-letter pseudos. Created 3 years, 10 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/HTMLOptionElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.h b/third_party/WebKit/Source/core/html/HTMLOptionElement.h
index 64509b8df7529899807c55cc81b6058cf53baa11..435ffb958bf88c4564667c36f7394437bba9334a 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.h
@@ -33,7 +33,6 @@ namespace blink {
class ExceptionState;
class HTMLDataListElement;
class HTMLSelectElement;
-class ComputedStyle;
class CORE_EXPORT HTMLOptionElement final : public HTMLElement {
DEFINE_WRAPPERTYPEINFO();
@@ -107,10 +106,6 @@ class CORE_EXPORT HTMLOptionElement final : public HTMLElement {
void childrenChanged(const ChildrenChange&) override;
String innerText() override;
- // <option> never has a layoutObject so we manually manage a cached style.
- void updateNonComputedStyle();
- ComputedStyle* nonLayoutObjectComputedStyle() const override;
- PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
void didAddUserAgentShadowRoot(ShadowRoot&) override;
String collectOptionInnerText() const;
@@ -123,7 +118,6 @@ class CORE_EXPORT HTMLOptionElement final : public HTMLElement {
// Represents 'dirtiness'.
// https://html.spec.whatwg.org/multipage/forms.html#concept-option-dirtiness
bool m_isDirty = false;
- RefPtr<ComputedStyle> m_style;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698