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

Unified Diff: components/plugins/renderer/loadable_plugin_placeholder.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller 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
Index: components/plugins/renderer/loadable_plugin_placeholder.h
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.h b/components/plugins/renderer/loadable_plugin_placeholder.h
index 2a8913717d7e2d5bf4608649e24c9ae62e32203c..feed47c35dedce0da54d556d79117a0da4f51385 100644
--- a/components/plugins/renderer/loadable_plugin_placeholder.h
+++ b/components/plugins/renderer/loadable_plugin_placeholder.h
@@ -121,7 +121,7 @@ class LoadablePluginPlaceholder : public PluginPlaceholderBase {
// Used to prevent re-entrancy during the size recheck for throttled plugins.
bool in_size_recheck_;
gfx::Rect unobscured_rect_;
- base::OneShotTimer<LoadablePluginPlaceholder> size_update_timer_;
+ base::OneShotTimer size_update_timer_;
base::WeakPtrFactory<LoadablePluginPlaceholder> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698