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

Unified Diff: content/test/test_blink_web_unit_test_support.h

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 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/shell/test_runner/web_test_interfaces.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_blink_web_unit_test_support.h
diff --git a/content/test/test_blink_web_unit_test_support.h b/content/test/test_blink_web_unit_test_support.h
index ff8c0410ecd61533aef8c12d08b762c2abac3b3b..78b7d2cf4c02a308fa381c55dae90a508089019e 100644
--- a/content/test/test_blink_web_unit_test_support.h
+++ b/content/test/test_blink_web_unit_test_support.h
@@ -55,7 +55,7 @@ class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl {
blink::WebCompositorSupport* CompositorSupport() override;
- blink::WebGestureCurve* CreateFlingAnimationCurve(
+ std::unique_ptr<blink::WebGestureCurve> CreateFlingAnimationCurve(
blink::WebGestureDevice device_source,
const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulative_scroll) override;
@@ -71,7 +71,8 @@ class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl {
const blink::WebSecurityOrigin& mainFrameOrigin,
blink::WebPluginListBuilder* builder) override;
- blink::WebRTCCertificateGenerator* CreateRTCCertificateGenerator() override;
+ std::unique_ptr<blink::WebRTCCertificateGenerator>
+ CreateRTCCertificateGenerator() override;
private:
MockWebBlobRegistryImpl blob_registry_;
« no previous file with comments | « content/shell/test_runner/web_test_interfaces.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698