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

Unified Diff: third_party/WebKit/Source/core/html/forms/InputTypeView.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 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/forms/InputTypeView.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
index 76f135da9e91355afb6e0e3fbc8acf9803e1071b..0361eb80bf82fb9de918981c21162c57bfaa5cb2 100644
--- a/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
+++ b/third_party/WebKit/Source/core/html/forms/InputTypeView.cpp
@@ -40,6 +40,11 @@ PassRefPtrWillBeRawPtr<InputTypeView> InputTypeView::create(HTMLInputElement& in
return adoptRefWillBeNoop(new InputTypeView(input));
}
+InputTypeView::InputTypeView(HTMLInputElement& element)
+ : m_element(&element)
+{
+}
+
InputTypeView::~InputTypeView()
{
}
@@ -227,6 +232,11 @@ AXObject* InputTypeView::popupRootAXObject()
return nullptr;
}
+HTMLInputElement& InputTypeView::element() const
+{
+ return *m_element;
+}
+
DEFINE_TRACE(ClickHandlingState)
{
visitor->trace(checkedRadioButton);

Powered by Google App Engine
This is Rietveld 408576698