diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-20 13:01:08 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-20 13:01:08 +0200 |
commit | 49233e234e5c787396cadb2cea33b31ae0cd65c1 (patch) | |
tree | 5410cb9a8fd53168bb60d62c54b654d86f03c38d /Source/WebKit/chromium/tests/WebLayerTest.cpp | |
parent | b211c645d8ab690f713515dfdc84d80b11c27d2c (diff) | |
download | qtwebkit-49233e234e5c787396cadb2cea33b31ae0cd65c1.tar.gz |
Imported WebKit commit 3a8c29f35d00659d2ce7a0ccdfa8304f14e82327 (http://svn.webkit.org/repository/webkit/trunk@120813)
New snapshot with Windows build fixes
Diffstat (limited to 'Source/WebKit/chromium/tests/WebLayerTest.cpp')
-rw-r--r-- | Source/WebKit/chromium/tests/WebLayerTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebKit/chromium/tests/WebLayerTest.cpp b/Source/WebKit/chromium/tests/WebLayerTest.cpp index 8fc7c93bd..bc4929311 100644 --- a/Source/WebKit/chromium/tests/WebLayerTest.cpp +++ b/Source/WebKit/chromium/tests/WebLayerTest.cpp @@ -65,7 +65,7 @@ public: class MockWebContentLayerClient : public WebContentLayerClient { public: - MOCK_METHOD2(paintContents, void(WebCanvas*, const WebRect& clip)); + MOCK_METHOD3(paintContents, void(WebCanvas*, const WebRect& clip, WebRect& opaque)); }; class WebLayerTest : public Test { @@ -175,7 +175,7 @@ TEST_F(WebLayerTest, Client) // Content layer. MockWebContentLayerClient contentClient; - EXPECT_CALL(contentClient, paintContents(_, _)).Times(AnyNumber()); + EXPECT_CALL(contentClient, paintContents(_, _, _)).Times(AnyNumber()); EXPECT_CALL(m_client, scheduleComposite()).Times(AnyNumber()); WebContentLayer contentLayer = WebContentLayer::create(&contentClient); m_rootLayer.addChild(contentLayer); @@ -209,7 +209,7 @@ TEST_F(WebLayerTest, Hierarchy) EXPECT_TRUE(layer2.parent().isNull()); MockWebContentLayerClient contentClient; - EXPECT_CALL(contentClient, paintContents(_, _)).Times(AnyNumber()); + EXPECT_CALL(contentClient, paintContents(_, _, _)).Times(AnyNumber()); WebContentLayer contentLayer = WebContentLayer::create(&contentClient); WebExternalTextureLayer textureLayer = WebExternalTextureLayer::create(); |