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

Unified Diff: Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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
Index: Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
similarity index 87%
copy from Source/modules/quota/StorageInfo.cpp
copy to Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
index a41b8d6e6b334d714e3fc3a89559e0487df22aef..e1a73345da4fccf48c166e464d0a6d980a43cf4a 100644
--- a/Source/modules/quota/StorageInfo.cpp
+++ b/Source/bindings/core/dart/shared_lib/DartLibraryMain.cpp
@@ -28,15 +28,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "config.h"
-#include "modules/quota/StorageInfo.h"
+#if !defined(DART_SHARED_LIB)
+#error This is only intended to be used when Dart is used as a shared library.
+#endif
-namespace blink {
-
-StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota)
- : m_usage(usage)
- , m_quota(quota)
+// Unused entry point for a shared library containing the Dart VM.
+int main(int argc, char** argv)
{
+ return 0;
}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698