Chromium Code Reviews| Index: Source/platform/heap/Visitor.h |
| diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h |
| index 09f8b613f08e67fd420b0943ab0d366c912195a0..792c886e070672ba361303ed9dd613a34dc13461 100644 |
| --- a/Source/platform/heap/Visitor.h |
| +++ b/Source/platform/heap/Visitor.h |
| @@ -31,6 +31,10 @@ |
| #ifndef Visitor_h |
| #define Visitor_h |
| +#if !defined(Heap_h) && !defined(Visitor_cpp) |
| +# error Do not include platform/heap/Visitor.h directly. Include platform/heap/Heap.h instead. |
|
haraken
2015/02/16 04:50:45
Heap.h => Handle.h
I don't fully understand a ben
|
| +#endif |
| + |
| #include "platform/PlatformExport.h" |
| #include "platform/heap/StackFrameDepth.h" |
| #include "platform/heap/ThreadState.h" |