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

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 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/HTMLOptionElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLOptionElement.h b/third_party/WebKit/Source/core/html/HTMLOptionElement.h
index c3143ce33e29aa8842f4bf1af9110134edac7cfc..9e798be2c661da95af6abdf17c66d280de312969 100644
--- a/third_party/WebKit/Source/core/html/HTMLOptionElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLOptionElement.h
@@ -109,10 +109,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;
@@ -125,7 +121,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