 Chromium Code Reviews
 Chromium Code Reviews Issue 543603003:
  Oilpan: Expose Heap::collectGarbage to the web layer  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 543603003:
  Oilpan: Expose Heap::collectGarbage to the web layer  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| Index: public/web/WebHeap.h | 
| diff --git a/public/web/WebHeap.h b/public/web/WebHeap.h | 
| index b8d01b3af2b514f86d2fea7a4044bb85a236d917..6f88417feb7a3893fb9eb13f272aff3272794c76 100644 | 
| --- a/public/web/WebHeap.h | 
| +++ b/public/web/WebHeap.h | 
| @@ -47,6 +47,11 @@ public: | 
| BLINK_EXPORT SafePointScope(); | 
| BLINK_EXPORT ~SafePointScope(); | 
| }; | 
| + | 
| + // These APIs are only for testing purposes and should not be used | 
| + // outside of tests. | 
| + static void collectGarbageForTesting(); | 
| 
tkent
2014/09/09 06:45:04
Needs BLINK_EXPORT
 
haraken
2014/09/09 06:46:17
Done.
 | 
| + static void collectAllGarbageForTesting(); | 
| 
tkent
2014/09/09 06:45:04
Ditto.
 | 
| }; | 
| } // namespace blink |