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

Unified Diff: xfa/fwl/lightwidget/cfwl_checkbox.h

Issue 2209153002: Use virtual function to retrieve interface pointer (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: complete changes Created 4 years, 4 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: xfa/fwl/lightwidget/cfwl_checkbox.h
diff --git a/xfa/fwl/lightwidget/cfwl_checkbox.h b/xfa/fwl/lightwidget/cfwl_checkbox.h
index eb23536e258235dc3656874fe69cc6b8aa5a3746..51e62943dc6bf41bdf5da133ca8fa0f2b0fca46a 100644
--- a/xfa/fwl/lightwidget/cfwl_checkbox.h
+++ b/xfa/fwl/lightwidget/cfwl_checkbox.h
@@ -15,6 +15,9 @@ class CFWL_CheckBox : public CFWL_Widget {
CFWL_CheckBox();
~CFWL_CheckBox() override;
+ IFWL_CheckBox* GetWidget() override;
+ const IFWL_CheckBox* GetWidget() const override;
+
static CFWL_CheckBox* Create();
FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = nullptr);

Powered by Google App Engine
This is Rietveld 408576698