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

Unified Diff: tools/clang/blink_gc_plugin/JsonWriter.h

Issue 1085233002: BlinkGCPlugin: Fix JSonWriter after Clang r234897 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/blink_gc_plugin/JsonWriter.h
diff --git a/tools/clang/blink_gc_plugin/JsonWriter.h b/tools/clang/blink_gc_plugin/JsonWriter.h
index c4081f0f8c26185255a5e7448b900e071524c50e..3fe79103bbadbadc21770b707584ba1648462ed4 100644
--- a/tools/clang/blink_gc_plugin/JsonWriter.h
+++ b/tools/clang/blink_gc_plugin/JsonWriter.h
@@ -10,7 +10,7 @@
// Helper to write information for the points-to graph.
class JsonWriter {
public:
- static JsonWriter* from(std::unique_ptr<llvm::raw_fd_ostream> os) {
+ static JsonWriter* from(std::unique_ptr<llvm::raw_ostream> os) {
return os ? new JsonWriter(std::move(os)) : 0;
}
void OpenList() {
@@ -53,7 +53,7 @@ class JsonWriter {
*os_ << "\"" << key << "\":\"" << val << "\"";
}
private:
- JsonWriter(std::unique_ptr<llvm::raw_fd_ostream> os) : os_(std::move(os)) {}
+ JsonWriter(std::unique_ptr<llvm::raw_ostream> os) : os_(std::move(os)) {}
void Separator() {
if (state_.empty())
return;
@@ -63,7 +63,7 @@ class JsonWriter {
}
state_.top() = true;
}
- std::unique_ptr<llvm::raw_fd_ostream> os_;
+ std::unique_ptr<llvm::raw_ostream> os_;
std::stack<bool> state_;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698