Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
|
dcheng
2015/11/13 00:26:33
Maybe use --no-find-copies? This is completely unr
Devlin
2015/11/16 22:46:45
Done (sorry, extension folks are just used to igno
| |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "malloc_wrapper.h" | 5 // chrome.i18n *should* be defined, since this is an extension iframe. |
| 6 | 6 console.log(chrome.i18n); |
| 7 #include <stdlib.h> | 7 window.top.postMessage(chrome.i18n != undefined, '*'); |
| 8 | |
| 9 void* MallocWrapper(size_t size) { | |
| 10 return malloc(size); | |
| 11 } | |
| OLD | NEW |