summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_bind_status_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/urlmon_bind_status_callback.h')
-rw-r--r--chrome_frame/urlmon_bind_status_callback.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/urlmon_bind_status_callback.h b/chrome_frame/urlmon_bind_status_callback.h
index ef73cb8..98b258a 100644
--- a/chrome_frame/urlmon_bind_status_callback.h
+++ b/chrome_frame/urlmon_bind_status_callback.h
@@ -131,7 +131,7 @@ END_COM_MAP()
int len = lstrlenW(status_text) + 1;
status_text_.reset(new wchar_t[len]);
if (status_text_.get()) {
- lstrcpyW(status_text_.get(), status_text);
+ lstrcpynW(status_text_.get(), status_text, len);
} else {
NOTREACHED();
}
@@ -167,7 +167,8 @@ END_COM_MAP()
scoped_ptr<wchar_t> status_text_;
};
- std::vector<Progress*> saved_progress_;
+ typedef std::vector<Progress*> ProgressVector;
+ ProgressVector saved_progress_;
CLIPFORMAT clip_format_;
private: