summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_appimp.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-24 09:46:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-24 09:46:02 -0700
commit1529756d0d62638ea0fc7965416bef717ff47413 (patch)
tree81f94e0c8cc9e093a97bf59d907d051bb6086039 /xfa/fwl/core/fwl_appimp.h
parentded3634145b214b11212a7c53faa8ba15a1789ca (diff)
downloadpdfium-1529756d0d62638ea0fc7965416bef717ff47413.tar.xz
Remove IWFL_WidgetMgr in favor of CFWL_WidgetMgr.
The pure virtual class isn't buying us anything, and is costing us an otherwise unneeded vtable. Fix pre-existing presubmit warning in fwl_noteimp.cpp:88: If statement had no body and no else clause ... Remove switch on enum() and make separate GetWidget() methods. Review-Url: https://codereview.chromium.org/2004213002
Diffstat (limited to 'xfa/fwl/core/fwl_appimp.h')
-rw-r--r--xfa/fwl/core/fwl_appimp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fwl/core/fwl_appimp.h b/xfa/fwl/core/fwl_appimp.h
index b138ccb5be..f3377048fc 100644
--- a/xfa/fwl/core/fwl_appimp.h
+++ b/xfa/fwl/core/fwl_appimp.h
@@ -16,7 +16,6 @@ class CXFA_FFApp;
class IFWL_App;
class IFWL_NoteThread;
class IFWL_ThemeProvider;
-class IFWL_WidgetMgr;
class CFWL_AppImp {
public:
@@ -29,7 +28,7 @@ class CFWL_AppImp {
FWL_Error Initialize();
FWL_Error Finalize();
CXFA_FFApp* GetAdapterNative() const;
- IFWL_WidgetMgr* GetWidgetMgr() const;
+ CFWL_WidgetMgr* GetWidgetMgr() const;
IFWL_ThemeProvider* GetThemeProvider() const;
void SetThemeProvider(IFWL_ThemeProvider* pThemeProvider);
void Exit(int32_t iExitCode);