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

Unified Diff: sky/engine/tonic/dart_snapshot_loader.h

Issue 1243483002: Port more uses of OwnPtr to std::unique_ptr (Closed) Base URL: git@github.com:domokit/mojo.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 | « sky/engine/tonic/dart_library_loader.cc ('k') | sky/engine/tonic/dart_snapshot_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_snapshot_loader.h
diff --git a/sky/engine/tonic/dart_snapshot_loader.h b/sky/engine/tonic/dart_snapshot_loader.h
index b8d4a3c932760739ac336832839ef705d2881ee2..53edb0403a2ca56498d16a3f342d4002008bec8e 100644
--- a/sky/engine/tonic/dart_snapshot_loader.h
+++ b/sky/engine/tonic/dart_snapshot_loader.h
@@ -12,7 +12,6 @@
#include "base/memory/weak_ptr.h"
#include "dart/runtime/include/dart_api.h"
#include "mojo/common/data_pipe_drainer.h"
-#include "sky/engine/wtf/OwnPtr.h"
namespace blink {
class DartState;
@@ -31,7 +30,7 @@ class DartSnapshotLoader : public mojo::common::DataPipeDrainer::Client {
void OnDataComplete() override;
base::WeakPtr<DartState> dart_state_;
- OwnPtr<mojo::common::DataPipeDrainer> drainer_;
+ std::unique_ptr<mojo::common::DataPipeDrainer> drainer_;
// TODO(abarth): Should we be using SharedBuffer to buffer the data?
std::vector<uint8_t> buffer_;
base::Closure callback_;
« no previous file with comments | « sky/engine/tonic/dart_library_loader.cc ('k') | sky/engine/tonic/dart_snapshot_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698