| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #if defined(PrecompileCore_h_) | |
| 6 #error You shouldn't include the precompiled header file more than once. | |
| 7 #endif | |
| 8 #define PrecompileCore_h_ | |
| 9 | |
| 10 #include "build/win/Precompile.h" | |
| 11 | |
| 12 // In Blink a lot of operations center around dom and Document, or around | |
| 13 // layout/rendering and LayoutObject. Those two headers are in turn pulling | |
| 14 // in large parts of Blink's other headers which means that every compilation | |
| 15 // unit is compiling large parts of Blink. By precompiling Document.h | |
| 16 // and LayoutObject.h we only have to compile those parts once rather | |
| 17 // than 1500 times. It can make a large difference in compilation | |
| 18 // times (3-4 times faster). | |
| 19 #include "core/dom/Document.h" | |
| 20 #include "core/layout/LayoutObject.h" | |
| OLD | NEW |