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

Unified Diff: cc/output/output_surface.cc

Issue 203043002: Fix "unreachable code" warnings (MSVC warning 4702), misc. edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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 | cloud_print/service/win/chrome_launcher.cc » ('j') | sync/syncable/model_type.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface.cc
===================================================================
--- cc/output/output_surface.cc (revision 256983)
+++ cc/output/output_surface.cc (working copy)
@@ -411,8 +411,8 @@
}
void OutputSurface::UpdateAndMeasureGpuLatency() {
- return; // http://crbug.com/306690 tracks re-enabling latency queries.
-
+ // http://crbug.com/306690 tracks re-enabling latency queries.
+#if 0
// We only care about GPU latency for surfaces that do not have a parent
// compositor, since surfaces that do have a parent compositor can use
// mailboxes or delegated rendering to send frames to their parent without
@@ -473,6 +473,7 @@
gpu_latency_query_id);
context_provider_->ContextGL()->EndQueryEXT(GL_LATENCY_QUERY_CHROMIUM);
pending_gpu_latency_query_ids_.push_back(gpu_latency_query_id);
+#endif
}
void OutputSurface::PostSwapBuffersComplete() {
« no previous file with comments | « no previous file | cloud_print/service/win/chrome_launcher.cc » ('j') | sync/syncable/model_type.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698