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

Side by Side Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 2846273002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/frame (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 name = "Page Scale Layer"; 849 name = "Page Scale Layer";
850 } else if (graphics_layer == inner_viewport_scroll_layer_.get()) { 850 } else if (graphics_layer == inner_viewport_scroll_layer_.get()) {
851 name = "Inner Viewport Scroll Layer"; 851 name = "Inner Viewport Scroll Layer";
852 } else if (graphics_layer == overlay_scrollbar_horizontal_.get()) { 852 } else if (graphics_layer == overlay_scrollbar_horizontal_.get()) {
853 name = "Overlay Scrollbar Horizontal Layer"; 853 name = "Overlay Scrollbar Horizontal Layer";
854 } else if (graphics_layer == overlay_scrollbar_vertical_.get()) { 854 } else if (graphics_layer == overlay_scrollbar_vertical_.get()) {
855 name = "Overlay Scrollbar Vertical Layer"; 855 name = "Overlay Scrollbar Vertical Layer";
856 } else if (graphics_layer == root_transform_layer_.get()) { 856 } else if (graphics_layer == root_transform_layer_.get()) {
857 name = "Root Transform Layer"; 857 name = "Root Transform Layer";
858 } else { 858 } else {
859 ASSERT_NOT_REACHED(); 859 NOTREACHED();
860 } 860 }
861 861
862 return name; 862 return name;
863 } 863 }
864 864
865 } // namespace blink 865 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698