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

Unified Diff: third_party/WebKit/Source/platform/heap/MarkingVisitor.h

Issue 2054673002: Mark shouldMarkObject(), arenaForNormalPage() accessors as const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/heap/MarkingVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
index deeac44cef50de0731bb46c47e9c9727830efb51..02c96e43c6d07f311fbab78889893614ec3a9cf9 100644
--- a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
@@ -63,7 +63,7 @@ protected:
Impl::registerWeakCellWithCallback(cell, callback);
}
- inline bool shouldMarkObject(const void* objectPointer)
+ inline bool shouldMarkObject(const void* objectPointer) const
{
if (Mode != ThreadLocalMarking)
return true;

Powered by Google App Engine
This is Rietveld 408576698