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

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

Issue 1237973002: Remove most usage of Vector (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 483299a35707f71fe4f58a9958d3a432de9395e9..7817665cdae95ae1703cb51517100f0206c3058c 100644
--- a/sky/engine/tonic/dart_snapshot_loader.h
+++ b/sky/engine/tonic/dart_snapshot_loader.h
@@ -5,13 +5,14 @@
#ifndef SKY_ENGINE_TONIC_DART_SNAPSHOT_LOADER_H_
#define SKY_ENGINE_TONIC_DART_SNAPSHOT_LOADER_H_
+#include <vector>
+
#include "base/callback_forward.h"
#include "base/macros.h"
#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"
-#include "sky/engine/wtf/Vector.h"
#include "sky/engine/wtf/text/WTFString.h"
namespace blink {
@@ -33,7 +34,7 @@ class DartSnapshotLoader : public mojo::common::DataPipeDrainer::Client {
base::WeakPtr<DartState> dart_state_;
OwnPtr<mojo::common::DataPipeDrainer> drainer_;
// TODO(abarth): Should we be using SharedBuffer to buffer the data?
- Vector<uint8_t> buffer_;
+ std::vector<uint8_t> buffer_;
base::Closure callback_;
DISALLOW_COPY_AND_ASSIGN(DartSnapshotLoader);
« 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