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

Unified Diff: extensions/renderer/module_system.h

Issue 1074273002: Move the event attach/detach logic on unload from event.js to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix memory leak Created 5 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: extensions/renderer/module_system.h
diff --git a/extensions/renderer/module_system.h b/extensions/renderer/module_system.h
index 8b4a35ca45a1be49567df776c7f00924c16802c8..0b58156113f9cb06039ed29b38ad514dcf59257c 100644
--- a/extensions/renderer/module_system.h
+++ b/extensions/renderer/module_system.h
@@ -142,6 +142,7 @@ class ModuleSystem : public ObjectBackedNativeHandler,
}
protected:
+ friend class ModuleSystemTest;
friend class ScriptContext;
void Invalidate() override;

Powered by Google App Engine
This is Rietveld 408576698