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

Unified Diff: components/test_runner/web_test_proxy.h

Issue 1245863003: Initialize CompositorDependencies in RenderWidget's constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.h
diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
index 462e152a564ec5f571725b1d9ebf35e986a624e9..f8f9af856c04bc21492db315da9f0c8a034897d3 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -302,10 +302,10 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
// RenderWidget. It's safe to ignore that warning.
#pragma warning(disable: 4250)
#endif
-template <class Base, typename T>
+template <class Base, typename... Args>
its_nick_at_chromium_org 2015/07/21 22:08:04 Wat. Actually wait no, that's amazing. One of the
class WebTestProxy : public Base, public WebTestProxyBase {
public:
- explicit WebTestProxy(T t) : Base(t) {}
+ explicit WebTestProxy(Args... args) : Base(args...) {}
// WebWidgetClient implementation.
virtual blink::WebScreenInfo screenInfo() {
« no previous file with comments | « no previous file | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698