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

Unified Diff: content/common/font_warmup_win_unittest.cc

Issue 1363643003: Fix more clang/win plugin warnings after GDI font emulation CL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_warmup_win_unittest.cc
diff --git a/content/common/font_warmup_win_unittest.cc b/content/common/font_warmup_win_unittest.cc
index 44bb96a5698fb511716add60b98e1ac2e6d54d06..80eb9e57b1f83f7dc33c94ac27f28dc8f7876a22 100644
--- a/content/common/font_warmup_win_unittest.cc
+++ b/content/common/font_warmup_win_unittest.cc
@@ -132,7 +132,9 @@ const wchar_t* kTestFontFamilyInvalid = L"InvalidFont";
class TestSkFontMgr : public SkFontMgr {
public:
TestSkFontMgr() { content::SetPreSandboxWarmupFontMgrForTesting(this); }
- ~TestSkFontMgr() { content::SetPreSandboxWarmupFontMgrForTesting(nullptr); }
+ ~TestSkFontMgr() override {
+ content::SetPreSandboxWarmupFontMgrForTesting(nullptr);
+ }
protected:
int onCountFamilies() const override { return 1; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698