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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl_win.cc

Issue 14141005: Don't take the address of a temporary (Closed) Base URL: svn://svn.chromium.org/chrome
Patch Set: attempting to fix base url Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_delegate_impl_win.cc
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
index 7fb114c6ad435ae975845ea2078e7e8602af4c9b..a27ee52a2f8da8def3f427a9eb830c8c5d5a0066 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_win.cc
@@ -1024,7 +1024,8 @@ LRESULT CALLBACK WebPluginDelegateImpl::NativeWndProc(
if (old_message != custom_msg)
flags |= RDW_UPDATENOW;
- RedrawWindow(hwnd, &invalid_rect.ToRECT(), NULL, flags);
+ RECT rect = invalid_rect.ToRECT();
+ RedrawWindow(hwnd, &rect, NULL, flags);
result = FALSE;
} else {
delegate->is_calling_wndproc = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698