summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-30 11:37:48 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-30 11:38:52 +0200
commit89e2486a48b739f8d771d69ede5a6a1b244a10fc (patch)
tree503b1a7812cf97d93704c32437eb5f62dc1a1ff9 /Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
parent625f028249cb37c55bbbd153f3902afd0b0756d9 (diff)
downloadqtwebkit-89e2486a48b739f8d771d69ede5a6a1b244a10fc.tar.gz
Imported WebKit commit 0282df8ca7c11d8c8a66ea18543695c69f545a27 (http://svn.webkit.org/repository/webkit/trunk@124002)
New snapshot with prospective Mountain Lion build fix
Diffstat (limited to 'Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp')
-rw-r--r--Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp b/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
index c206dda5e..ace7410c3 100644
--- a/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
+++ b/Source/WebKit/chromium/tests/Canvas2DLayerBridgeTest.cpp
@@ -33,6 +33,7 @@
#include "WebCompositor.h"
#include "WebKit.h"
#include "cc/CCGraphicsContext.h"
+#include "cc/CCRenderingStats.h"
#include "cc/CCTextureUpdater.h"
#include "platform/WebKitPlatformSupport.h"
#include "platform/WebThread.h"
@@ -151,8 +152,8 @@ TEST(Canvas2DLayerBridgeTest2, testClearClient)
RefPtr<LayerChromium> layer = bridge->layer();
bridge.clear();
CCTextureUpdater updater;
- layer->update(updater, 0);
+ CCRenderingStats stats;
+ layer->update(updater, 0, stats);
}
} // namespace
-