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

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 176763009: Have DOMWindow deal with references instead of pointers when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 | « Source/modules/webmidi/MIDIOutput.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.cpp
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
index 736ecb76ff5fab84736e5e89fb02aa7aa2afa8a1..e5cbba42a0c2a054fe4a6b43abff5d4303da78ed 100644
--- a/Source/web/WebFrameImpl.cpp
+++ b/Source/web/WebFrameImpl.cpp
@@ -774,7 +774,7 @@ WebPerformance WebFrameImpl::performance() const
{
if (!frame())
return WebPerformance();
- return WebPerformance(frame()->domWindow()->performance());
+ return WebPerformance(&frame()->domWindow()->performance());
}
NPObject* WebFrameImpl::windowObject() const
« no previous file with comments | « Source/modules/webmidi/MIDIOutput.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698