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

Unified Diff: src/background-parsing-task.h

Issue 1221433021: Move SmartPointer to base. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some unecessary header includes 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
« BUILD.gn ('K') | « src/ast.h ('k') | src/base/smart-pointers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/background-parsing-task.h
diff --git a/src/background-parsing-task.h b/src/background-parsing-task.h
index 80e1e271d2c8e1e67c0130e4f85ce97e9484c376..e99916169cfc81e2bf2ab81064d288d674c399ed 100644
--- a/src/background-parsing-task.h
+++ b/src/background-parsing-task.h
@@ -7,9 +7,9 @@
#include "src/base/platform/platform.h"
#include "src/base/platform/semaphore.h"
+#include "src/base/smart-pointers.h"
#include "src/compiler.h"
#include "src/parser.h"
-#include "src/smart-pointers.h"
namespace v8 {
namespace internal {
@@ -23,17 +23,17 @@ struct StreamedSource {
: source_stream(source_stream), encoding(encoding) {}
// Internal implementation of v8::ScriptCompiler::StreamedSource.
- SmartPointer<ScriptCompiler::ExternalSourceStream> source_stream;
+ base::SmartPointer<ScriptCompiler::ExternalSourceStream> source_stream;
ScriptCompiler::StreamedSource::Encoding encoding;
- SmartPointer<ScriptCompiler::CachedData> cached_data;
+ base::SmartPointer<ScriptCompiler::CachedData> cached_data;
// Data needed for parsing, and data needed to to be passed between thread
// between parsing and compilation. These need to be initialized before the
// compilation starts.
UnicodeCache unicode_cache;
- SmartPointer<Zone> zone;
- SmartPointer<ParseInfo> info;
- SmartPointer<Parser> parser;
+ base::SmartPointer<Zone> zone;
+ base::SmartPointer<ParseInfo> info;
+ base::SmartPointer<Parser> parser;
private:
// Prevent copying. Not implemented.
« BUILD.gn ('K') | « src/ast.h ('k') | src/base/smart-pointers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698