| Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| index df88ee803bfa54461706c43cd488b9ee9ce6ef08..f7f132272e8b9a4fc5cf457f4a3f4206fc52a6ef 100644
|
| --- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
|
| @@ -363,8 +363,10 @@ void VisualViewport::CreateLayerTree() {
|
| inner_viewport_scroll_layer_->PlatformLayer()->SetUserScrollable(true, true);
|
| if (MainFrame()) {
|
| if (Document* document = MainFrame()->GetDocument()) {
|
| - inner_viewport_scroll_layer_->SetElementId(CreateCompositorElementId(
|
| - DOMNodeIds::IdForNode(document), CompositorSubElementId::kViewport));
|
| + inner_viewport_scroll_layer_->SetElementId(
|
| + CompositorElementIdFromDOMNodeId(
|
| + DOMNodeIds::IdForNode(document),
|
| + CompositorElementIdNamespace::kViewport));
|
| }
|
| }
|
|
|
|
|