| Index: Source/WebCore/testing/Internals.cpp
|
| ===================================================================
|
| --- Source/WebCore/testing/Internals.cpp (revision 92202)
|
| +++ Source/WebCore/testing/Internals.cpp (working copy)
|
| @@ -31,6 +31,7 @@
|
| #include "Element.h"
|
| #include "ExceptionCode.h"
|
| #include "InspectorController.h"
|
| +#include "MemoryCache.h"
|
| #include "NodeRenderingContext.h"
|
| #include "Page.h"
|
| #include "RenderTreeAsText.h"
|
| @@ -136,6 +137,11 @@
|
| return element->shadowPseudoId().string();
|
| }
|
|
|
| +void Internals::disableMemoryCache(bool disabled)
|
| +{
|
| + WebCore::memoryCache()->setDisabled(disabled);
|
| +}
|
| +
|
| #if ENABLE(INSPECTOR)
|
| void Internals::setInspectorResourcesDataSizeLimits(Document* document, int maximumResourcesContentSize, int maximumSingleResourceContentSize, ExceptionCode& ec)
|
| {
|
|
|