| Index: trunk/Source/web/tests/WebDocumentTest.cpp
|
| ===================================================================
|
| --- trunk/Source/web/tests/WebDocumentTest.cpp (revision 190671)
|
| +++ trunk/Source/web/tests/WebDocumentTest.cpp (working copy)
|
| @@ -41,7 +41,7 @@
|
| HTMLElement* bodyElement = coreDoc->body();
|
| ASSERT(bodyElement);
|
|
|
| - const LayoutStyle* style = bodyElement->layoutStyle();
|
| + LayoutStyle* style = bodyElement->layoutStyle();
|
| ASSERT(style);
|
|
|
| // Inserted stylesheet not yet applied.
|
| @@ -73,13 +73,13 @@
|
| Element* transitionElement = coreDoc->getElementById("foo");
|
| ASSERT(transitionElement);
|
|
|
| - const LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| + LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| ASSERT(transitionStyle);
|
|
|
| HTMLElement* bodyElement = coreDoc->body();
|
| ASSERT(bodyElement);
|
|
|
| - const LayoutStyle* bodyStyle = bodyElement->layoutStyle();
|
| + LayoutStyle* bodyStyle = bodyElement->layoutStyle();
|
| ASSERT(bodyStyle);
|
| // The transition_exit.css stylesheet should not have been applied at this point.
|
| ASSERT_EQ(Color(0, 0, 0), bodyStyle->visitedDependentColor(CSSPropertyColor));
|
| @@ -118,13 +118,13 @@
|
| Element* transitionElement = coreDoc->getElementById("foo");
|
| ASSERT(transitionElement);
|
|
|
| - const LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| + LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| ASSERT(transitionStyle);
|
|
|
| HTMLElement* bodyElement = coreDoc->body();
|
| ASSERT(bodyElement);
|
|
|
| - const LayoutStyle* bodyStyle = bodyElement->layoutStyle();
|
| + LayoutStyle* bodyStyle = bodyElement->layoutStyle();
|
| ASSERT(bodyStyle);
|
| // The transition_exit.css stylesheet should not have been applied at this point.
|
| ASSERT_EQ(Color(0, 0, 0), bodyStyle->visitedDependentColor(CSSPropertyColor));
|
| @@ -161,7 +161,7 @@
|
| Element* transitionElement = coreDoc->getElementById("foo");
|
| ASSERT(transitionElement);
|
|
|
| - const LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| + LayoutStyle* transitionStyle = transitionElement->layoutStyle();
|
| ASSERT(transitionStyle);
|
| EXPECT_EQ(transitionStyle->opacity(), 1);
|
|
|
|
|