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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp

Issue 2172183003: Return unique_ptr<WebDataConsumerHandle::Reader> directly from obtainReader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gmock_cxx11
Patch Set: rebase Created 4 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
Index: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerClient.cpp b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
similarity index 52%
copy from third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerClient.cpp
copy to third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
index f38fa5e7576e8434a5a2ce0aebaac266c580a3d6..881bd8ec12eade90d4e80fcb53a0fa82974cb559 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerClient.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.cpp
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "platform/animation/CompositorAnimationPlayerClient.h"
+#include "modules/fetch/FetchDataConsumerHandle.h"
namespace blink {
-CompositorAnimationPlayerClient::~CompositorAnimationPlayerClient()
+std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainReader(Client* client)
{
+ return obtainFetchDataReader(client);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698