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

Unified Diff: cc/trees/thread_proxy.cc

Issue 554973002: Disable scheduler deadline task on battery power in Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant != NULL Created 6 years, 2 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: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 93b4c65f5fa19e7b1e358462cd93ca4489b7e43c..f14765eb643c36a9d548a55000b0abf543288b08 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -352,6 +352,10 @@ BeginFrameSource* ThreadProxy::ExternalBeginFrameSource() {
return impl().layer_tree_host_impl.get();
}
+base::PowerMonitor* ThreadProxy::PowerMonitor() {
+ return base::PowerMonitor::Get();
+}
+
void ThreadProxy::WillBeginImplFrame(const BeginFrameArgs& args) {
impl().layer_tree_host_impl->WillBeginImplFrame(args);
}

Powered by Google App Engine
This is Rietveld 408576698