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

Unified Diff: runtime/vm/native_api_impl.cc

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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 | « runtime/vm/mirrors_api_impl.cc ('k') | runtime/vm/native_arguments.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_api_impl.cc
diff --git a/runtime/vm/native_api_impl.cc b/runtime/vm/native_api_impl.cc
index 48d9289512e5350b96f7a5539a37dcfa098fda78..08a8daa56db39439c724e542068ac44e95496e95 100644
--- a/runtime/vm/native_api_impl.cc
+++ b/runtime/vm/native_api_impl.cc
@@ -37,6 +37,7 @@ class IsolateSaver {
Dart_EnterIsolate(I);
}
}
+
private:
Isolate* saved_isolate_;
@@ -64,8 +65,8 @@ DART_EXPORT bool Dart_PostCObject(Dart_Port port_id, Dart_CObject* message) {
DART_EXPORT bool Dart_PostInteger(Dart_Port port_id, int64_t message) {
if (Smi::IsValid(message)) {
- return PortMap::PostMessage(new Message(
- port_id, Smi::New(message), Message::kNormalPriority));
+ return PortMap::PostMessage(
+ new Message(port_id, Smi::New(message), Message::kNormalPriority));
}
Dart_CObject cobj;
cobj.type = Dart_CObject_kInt64;
@@ -132,8 +133,7 @@ DART_EXPORT Dart_Handle Dart_CompileAll() {
static void ParseAll(Thread* thread, Dart_Handle* result) {
ASSERT(thread != NULL);
- const Error& error = Error::Handle(thread->zone(),
- Library::ParseAll(thread));
+ const Error& error = Error::Handle(thread->zone(), Library::ParseAll(thread));
if (error.IsNull()) {
*result = Api::Success();
} else {
« no previous file with comments | « runtime/vm/mirrors_api_impl.cc ('k') | runtime/vm/native_arguments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698