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

Unified Diff: third_party/WebKit/Source/core/loader/HistoryItem.h

Issue 2710063002: Revert of Add DidSaveScrollOrScaleState flag to prevent restoreScrollPosition... (Closed)
Patch Set: rebase update Created 3 years, 8 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
Index: third_party/WebKit/Source/core/loader/HistoryItem.h
diff --git a/third_party/WebKit/Source/core/loader/HistoryItem.h b/third_party/WebKit/Source/core/loader/HistoryItem.h
index 80c2f642a8650e2663674f5d3dc4e6146f3d0a99..ee5146c232ac542b9e472f70a35e7cb92f90ab37 100644
--- a/third_party/WebKit/Source/core/loader/HistoryItem.h
+++ b/third_party/WebKit/Source/core/loader/HistoryItem.h
@@ -59,14 +59,6 @@ class CORE_EXPORT HistoryItem final
EncodedFormData* FormData();
const AtomicString& FormContentType() const;
- void SetDidSaveScrollOrScaleState(bool did_save_scroll_or_scale_state) {
- did_save_scroll_or_scale_state_ = did_save_scroll_or_scale_state;
- }
-
- bool DidSaveScrollOrScaleState() const {
- return did_save_scroll_or_scale_state_;
- }
-
const ScrollOffset& VisualViewportScrollOffset() const;
void SetVisualViewportScrollOffset(const ScrollOffset&);
const ScrollOffset& GetScrollOffset() const;
@@ -119,7 +111,6 @@ class CORE_EXPORT HistoryItem final
String url_string_;
Referrer referrer_;
- bool did_save_scroll_or_scale_state_;
ScrollOffset visual_viewport_scroll_offset_;
ScrollOffset scroll_offset_;
float page_scale_factor_;
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698