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

Unified Diff: xfa/fwl/basewidget/fwl_editimp.h

Issue 1946213003: Remove CLASSHASH defines in favour of an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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/basewidget/fwl_editimp.h
diff --git a/xfa/fwl/basewidget/fwl_editimp.h b/xfa/fwl/basewidget/fwl_editimp.h
index 3732b48f1fddbd621c602ea90ddcfb501689f94c..9368ff161f9c49c1b639d229ed0fea7a1b9c1fad 100644
--- a/xfa/fwl/basewidget/fwl_editimp.h
+++ b/xfa/fwl/basewidget/fwl_editimp.h
@@ -31,7 +31,7 @@ class CFWL_EditImp : public CFWL_WidgetImp {
// CFWL_WidgetImp:
FWL_ERR GetClassName(CFX_WideString& wsClass) const override;
- uint32_t GetClassID() const override;
+ FWL_Type GetClassID() const override { return FWL_Type::Edit; }
FWL_ERR Initialize() override;
FWL_ERR Finalize() override;
FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override;

Powered by Google App Engine
This is Rietveld 408576698