Commit 6563c7fb authored by Robert Liao's avatar Robert Liao Committed by Commit Bot

Remove RenderWidgetHostViewAura::SchedulePaintIfNotInClip

This is unreferenced code.

BUG=
TBR=sadrul@chromium.org

Change-Id: I50ab2081195a0dc8fd447c08d29e87b5b55086d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841775Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702986}
parent 6fc2d483
......@@ -2304,18 +2304,6 @@ void RenderWidgetHostViewAura::UpdateLegacyWin() {
}
#endif
void RenderWidgetHostViewAura::SchedulePaintIfNotInClip(
const gfx::Rect& rect,
const gfx::Rect& clip) {
if (!clip.IsEmpty()) {
gfx::Rect to_paint = gfx::SubtractRects(rect, clip);
if (!to_paint.IsEmpty())
window_->SchedulePaintInRect(to_paint);
} else {
window_->SchedulePaintInRect(rect);
}
}
void RenderWidgetHostViewAura::AddedToRootWindow() {
window_->GetHost()->AddObserver(this);
UpdateScreenInfo(window_);
......
......@@ -516,10 +516,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// the mouse cursor is visible anywhere on the screen.
void NotifyRendererOfCursorVisibilityState(bool is_visible);
// If |clip| is non-empty and and doesn't contain |rect| or |clip| is empty
// SchedulePaint() is invoked for |rect|.
void SchedulePaintIfNotInClip(const gfx::Rect& rect, const gfx::Rect& clip);
// Called after |window_| is parented to a WindowEventDispatcher.
void AddedToRootWindow();
......
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