Commit 83ed4469 authored by mkosiba's avatar mkosiba Committed by Commit bot

[android_webview] Don't call super.onMeasure in AwTestContainerView

It shouldn't matter much but the onMeasure method should be overridden
without calling super.

BUG=None
TEST=None

Review URL: https://codereview.chromium.org/531583002

Cr-Commit-Position: refs/heads/master@{#292953}
parent 5df416ca
......@@ -305,7 +305,8 @@ public class AwTestContainerView extends FrameLayout {
@Override
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
mAwContents.onMeasure(widthMeasureSpec, heightMeasureSpec);
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
// This method is intended to be overridden without calling super. Doing so clobbers state
// set by mAwContents.onMeasure.
}
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment