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

Unified Diff: gpu/ipc/service/child_window_win.cc

Issue 2729073002: Fix DirectCompositionSurfaceTest.TestMakeCurrent flakiness. (Closed)
Patch Set: Created 3 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 | « gpu/ipc/service/child_window_win.h ('k') | gpu/ipc/service/direct_composition_surface_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/child_window_win.cc
diff --git a/gpu/ipc/service/child_window_win.cc b/gpu/ipc/service/child_window_win.cc
index 1246c5773182b4e52ca120b0b9d16df9541e2b87..6c1dfdc957d4c3efcb022157e50f207e79a16896 100644
--- a/gpu/ipc/service/child_window_win.cc
+++ b/gpu/ipc/service/child_window_win.cc
@@ -207,4 +207,9 @@ ChildWindowWin::~ChildWindowWin() {
}
}
+scoped_refptr<base::TaskRunner> ChildWindowWin::GetTaskRunnerForTesting() {
+ DCHECK(shared_data_);
+ return shared_data_->thread.task_runner();
+}
+
} // namespace gpu
« no previous file with comments | « gpu/ipc/service/child_window_win.h ('k') | gpu/ipc/service/direct_composition_surface_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698