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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
index a384e8ade5736150b48f59548cdc3ff42d9007c6..3df1c9df98cd7d43a1ccc9379a1b0d8bb8ae5b7f 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -123,7 +123,7 @@ class CarbonIdleEventSource {
void RegisterDelegate(WebPluginDelegateImpl* delegate) {
if (delegates_.empty()) {
timer_.Start(base::TimeDelta::FromMilliseconds(timer_period_),
- this, &VisibilityGroup::SendIdleEvents);
+ this, &VisibilityGroup::SendIdleEvents, FROM_HERE);
}
delegates_.insert(delegate);
}
@@ -1029,7 +1029,7 @@ void WebPluginDelegateImpl::PluginVisibilityChanged() {
if (plugin_visible && !redraw_timer_->IsRunning() && windowed_handle()) {
redraw_timer_->Start(
base::TimeDelta::FromMilliseconds(kCoreAnimationRedrawPeriodMs),
- this, &WebPluginDelegateImpl::DrawLayerInSurface);
+ this, &WebPluginDelegateImpl::DrawLayerInSurface, FROM_HERE);
} else if (!plugin_visible) {
redraw_timer_->Stop();
}

Powered by Google App Engine
This is Rietveld 408576698