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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 11743007: Remove unnecessary comments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 39616ac06d50e962113553d6b3a4ed598cfe1209..31ab6cf4f40faf608bcc6c22f422443aadeb484d 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -738,16 +738,6 @@ void RenderThreadImpl::RecordUserMetrics(const std::string& action) {
scoped_ptr<base::SharedMemory>
RenderThreadImpl::HostAllocateSharedMemoryBuffer(uint32 size) {
- //if (!size)
- // return scoped_ptr<base::SharedMemory>();
-
-//#if defined(OS_WIN)
-// scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory);
-// if (!shared_memory->CreateAnonymous(size))
-// return scoped_ptr<base::SharedMemory>();
-//
-// return scoped_ptr<base::SharedMemory>(shared_memory.release());
-//#else
base::SharedMemoryHandle handle;
bool success;
IPC::Message* message =
@@ -766,7 +756,6 @@ scoped_ptr<base::SharedMemory>
return scoped_ptr<base::SharedMemory>();
return scoped_ptr<base::SharedMemory>(new base::SharedMemory(handle, false));
-//#endif // defined(OS_WIN)
}
void RenderThreadImpl::RegisterExtension(v8::Extension* extension) {
« 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