| Index: third_party/WebKit/Source/core/html/HTMLEmbedElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLEmbedElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLEmbedElementTest.cpp
|
| index b03c727b4843bc9eee3e77cc1c2c7dfbc337e9a4..fd22ac4222e0ecfbb67667db8a15371474b324f9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLEmbedElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLEmbedElementTest.cpp
|
| @@ -58,9 +58,9 @@ TEST_F(HTMLEmbedElementTest, FallbackState) {
|
| ASSERT_TRUE(isHTMLObjectElement(objectElement));
|
| HTMLObjectElement* object = toHTMLObjectElement(objectElement);
|
|
|
| - // At this moment updateWidget() function is not called, so
|
| + // At this moment updatePlugin() function is not called, so
|
| // useFallbackContent() will return false.
|
| - // But the element will likely to use fallback content after updateWidget().
|
| + // But the element will likely to use fallback content after updatePlugin().
|
| EXPECT_TRUE(object->hasFallbackContent());
|
| EXPECT_FALSE(object->useFallbackContent());
|
| EXPECT_TRUE(object->willUseFallbackContentAtLayout());
|
| @@ -77,7 +77,7 @@ TEST_F(HTMLEmbedElementTest, FallbackState) {
|
| ComputedStyle::initialStyle()));
|
|
|
| // This call will update fallback state of the object.
|
| - object->updateWidget();
|
| + object->updatePlugin();
|
|
|
| EXPECT_TRUE(object->hasFallbackContent());
|
| EXPECT_TRUE(object->useFallbackContent());
|
|
|