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

Unified Diff: tonic/dart_converter_wtf.cc

Issue 1244983003: Make mojo dart controller depend on tonic and get building without wtf (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « tonic/dart_converter_wtf.h ('k') | tonic/dart_library_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tonic/dart_converter_wtf.cc
diff --git a/base/test/malloc_wrapper.cc b/tonic/dart_converter_wtf.cc
similarity index 57%
copy from base/test/malloc_wrapper.cc
copy to tonic/dart_converter_wtf.cc
index eb280a3eeea52f49e534c7c5e3f6f7a40e80a750..6fe5ae753b0e5af6b8e09ea59e86e6b2c42e5dfc 100644
--- a/base/test/malloc_wrapper.cc
+++ b/tonic/dart_converter_wtf.cc
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "malloc_wrapper.h"
+#include "tonic/dart_converter_wtf.h"
-#include <stdlib.h>
-
-void* MallocWrapper(size_t size) {
- return malloc(size);
-}
+// This file exists to ensure dart_converter_wtf.h doesn't miss any
+// dependencies.
« no previous file with comments | « tonic/dart_converter_wtf.h ('k') | tonic/dart_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698