Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Unified Diff: Source/core/page/SpatialNavigation.h

Issue 371443002: Removing unused variables for parent in FocusCandidate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/SpatialNavigation.h
diff --git a/Source/core/page/SpatialNavigation.h b/Source/core/page/SpatialNavigation.h
index 2fef4da6ab93d891e3cfa9cac3cc1332d690dc4d..193de78a9f5c779e0e6d92547a2ba204ed7483db 100644
--- a/Source/core/page/SpatialNavigation.h
+++ b/Source/core/page/SpatialNavigation.h
@@ -103,9 +103,7 @@ struct FocusCandidate {
, focusableNode(0)
, enclosingScrollableBox(0)
, distance(maxDistance())
- , parentDistance(maxDistance())
, alignment(None)
- , parentAlignment(None)
, isOffscreen(true)
, isOffscreenAfterScrolling(true)
{
@@ -125,9 +123,7 @@ struct FocusCandidate {
Node* focusableNode;
Node* enclosingScrollableBox;
long long distance;
- long long parentDistance;
RectsAlignment alignment;
- RectsAlignment parentAlignment;
LayoutRect rect;
bool isOffscreen;
bool isOffscreenAfterScrolling;
« no previous file with comments | « no previous file | Source/core/page/SpatialNavigation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698