[Android] Fix for misaligned MVT area (#32806)

* [Android] Fix for misaligned MVT area

Regression was introduced between
`Nightly v1.85.63 (Chromium 141.0.7390.108)` and
`Nightly v1.85.70 (Chromium 142.0.7444.23)`.

Resolves https://github.com/brave/brave-browser/issues/51406

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/90a9724173475c0c3913a7cb9ca619d2458b1d08

	[SurfacePolish][CleanUp] Clean up surface polish code for MVT (Part 3)

	This CL represents part 3 of the cleanup for the surface polish code in
	the MVT, focusing on refining the code associated New tab page.

	Low-Coverage-Reason: TRIVIAL_CHANGE This CL cleans up the NewTabPageLayout code by deleting unused code and updating variable names.
	Bug: 331667743
	Change-Id: Idaaab489aa72714d4cd294ac86cc86b1dbe20065
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5591789
This commit is contained in:
AlexeyBarabash
2025-12-12 21:56:46 +00:00
committed by GitHub
parent 922c34a669
commit 855a518957
7 changed files with 75 additions and 0 deletions
@@ -54,5 +54,10 @@ public class BraveNewTabPageLayoutClassAdapter extends BraveClassVisitor {
makePublicMethod(sNewTabPageLayoutClassName, "updateMvtOnTablet");
changeSuperName(sNewTabPageLayoutClassName, sNewTabPageLayoutSuperClassName);
changeMethodOwner(
sNewTabPageLayoutClassName,
"isInNarrowWindowOnTablet",
sBraveNewTabPageLayoutClassName);
}
}