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

Unified Diff: cc/layers/delegated_renderer_layer_impl.cc

Issue 643583003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foramted. Created 6 years, 2 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
Index: cc/layers/delegated_renderer_layer_impl.cc
diff --git a/cc/layers/delegated_renderer_layer_impl.cc b/cc/layers/delegated_renderer_layer_impl.cc
index 86d493a012c9e5d9f63284469dfa582f76815aed..60ad06b2589653be8aceabd49e0387939e5b70bb 100644
--- a/cc/layers/delegated_renderer_layer_impl.cc
+++ b/cc/layers/delegated_renderer_layer_impl.cc
@@ -387,8 +387,8 @@ void DelegatedRendererLayerImpl::AppendRenderPassQuads(
AppendQuadsData* append_quads_data,
const RenderPass* delegated_render_pass,
const gfx::Size& frame_size) const {
- const SharedQuadState* delegated_shared_quad_state = NULL;
- SharedQuadState* output_shared_quad_state = NULL;
+ const SharedQuadState* delegated_shared_quad_state = nullptr;
+ SharedQuadState* output_shared_quad_state = nullptr;
for (const auto& delegated_quad : delegated_render_pass->quad_list) {
bool is_root_delegated_render_pass =

Powered by Google App Engine
This is Rietveld 408576698