Index: third_party/WebKit/Source/core/layout/LayoutPart.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
index 400584a003559365c891092d0467552eddfe435d..d361b72c24c6bf2d32887e09e989c32ecacf8c28 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
@@ -355,12 +355,4 @@ void LayoutPart::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& paint |
LayoutReplaced::invalidatePaintOfSubtreesIfNeeded(paintInvalidationState); |
} |
-bool LayoutPart::isThrottledFrameView() const |
-{ |
- if (!widget() || !widget()->isFrameView()) |
- return false; |
- const FrameView* frameView = toFrameView(widget()); |
- return frameView->shouldThrottleRendering(); |
-} |
- |
} |