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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.h

Issue 1850413002: Improve DEFINE_STATIC_LOCAL()'s handling of Blink GCed objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msvc compile fix.. Created 4 years, 9 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/layout/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 0a150fea6327184447f5c5450fff0c478887e4eb..f0d393f623809a0d4586f82967b8d9f76df2840f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -349,7 +349,7 @@ protected:
// happen after all layout is done, i.e. during updateLayerPositionsAfterLayout. However,
// that currently fails a layout test. To fix this bug in time for M50, we use this temporary
// hack. The real fix is tracked in crbug.com/600036
- typedef WTF::HashMap<PaintLayerScrollableArea*, DoublePoint> ScrollPositionMap;
+ typedef PersistentHeapHashMap<Member<PaintLayerScrollableArea>, DoublePoint> ScrollPositionMap;
static void startDelayUpdateScrollInfo();
static bool finishDelayUpdateScrollInfo(SubtreeLayoutScope*, ScrollPositionMap*);

Powered by Google App Engine
This is Rietveld 408576698