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

Unified Diff: content/common/gpu/image_transport_surface.cc

Issue 12226039: Reland 179911 and 179910 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src
Patch Set: Delta from original landing that's necessary for M25 (not ToT) Created 7 years, 10 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 | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.cc
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
index 67120eff967565b3e7fcd7acdd9b39ca4b61c54e..f30a24eb36623bd04c99b11ee58cab5562d970af 100644
--- a/content/common/gpu/image_transport_surface.cc
+++ b/content/common/gpu/image_transport_surface.cc
@@ -168,9 +168,9 @@ void ImageTransportHelper::DeferToFence(base::Closure task) {
scheduler->DeferToFence(task);
}
-void ImageTransportHelper::SetPreemptByCounter(
- scoped_refptr<gpu::RefCountedCounter> preempt_by_counter) {
- stub_->channel()->SetPreemptByCounter(preempt_by_counter);
+void ImageTransportHelper::SetPreemptByFlag(
+ scoped_refptr<gpu::PreemptionFlag> preemption_flag) {
+ stub_->channel()->SetPreemptByFlag(preemption_flag);
}
bool ImageTransportHelper::MakeCurrent() {
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698