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

Unified Diff: sky/engine/tonic/dart_state.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_snapshot_loader.cc ('k') | sky/engine/tonic/dart_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/tonic/dart_state.h
diff --git a/sky/engine/tonic/dart_state.h b/sky/engine/tonic/dart_state.h
index 6a498a08a4747cabdfaf71465ee2b5c1272460c9..140d6853a5b6059f98cfafd83fd3681547739928 100644
--- a/sky/engine/tonic/dart_state.h
+++ b/sky/engine/tonic/dart_state.h
@@ -12,7 +12,6 @@
#include "sky/engine/tonic/dart_api_scope.h"
#include "sky/engine/tonic/dart_isolate_scope.h"
#include "sky/engine/tonic/dart_persistent_value.h"
-#include "sky/engine/wtf/OwnPtr.h"
namespace blink {
class DartClassLibrary;
@@ -61,11 +60,11 @@ class DartState : public base::SupportsUserData {
private:
Dart_Isolate isolate_;
- OwnPtr<DartClassLibrary> class_library_;
- OwnPtr<DartExceptionFactory> exception_factory_;
- OwnPtr<DartLibraryLoader> library_loader_;
- OwnPtr<DartStringCache> string_cache_;
- OwnPtr<DartTimerHeap> timer_heap_;
+ std::unique_ptr<DartClassLibrary> class_library_;
+ std::unique_ptr<DartExceptionFactory> exception_factory_;
+ std::unique_ptr<DartLibraryLoader> library_loader_;
+ std::unique_ptr<DartStringCache> string_cache_;
+ std::unique_ptr<DartTimerHeap> timer_heap_;
DartPersistentValue index_handle_;
protected:
« no previous file with comments | « sky/engine/tonic/dart_snapshot_loader.cc ('k') | sky/engine/tonic/dart_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698