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

Unified Diff: runtime/vm/raw_object.h

Issue 10902002: Remove inclusion of 'include/dart_api.h' in 'raw_object.h' (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 11549)
+++ runtime/vm/raw_object.h (working copy)
@@ -10,8 +10,6 @@
#include "vm/token.h"
#include "vm/snapshot.h"
-#include "include/dart_api.h"
-
namespace dart {
// Macrobatics to define the Object hierarchy of VM implementation classes.
@@ -1127,7 +1125,7 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(ExternalOneByteString);
ExternalStringData<uint8_t>* external_data_;
- friend bool ExternalStringGetPeerHelper(Dart_Handle, void**);
+ friend class Api;
};
@@ -1135,7 +1133,7 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(ExternalTwoByteString);
ExternalStringData<uint16_t>* external_data_;
- friend bool ExternalStringGetPeerHelper(Dart_Handle, void**);
+ friend class Api;
};
@@ -1143,7 +1141,7 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(ExternalFourByteString);
ExternalStringData<uint32_t>* external_data_;
- friend bool ExternalStringGetPeerHelper(Dart_Handle, void**);
+ friend class Api;
};
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698