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

Side by Side Diff: Source/core/editing/VisibleSelection.cpp

Issue 23887002: Header cleanup: don't include system header stdio.h in non-debug builds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reworked. Created 7 years, 3 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
« no previous file with comments | « Source/core/editing/VisiblePosition.cpp ('k') | Source/core/fetch/MemoryCache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 #include "core/editing/TextIterator.h" 33 #include "core/editing/TextIterator.h"
34 #include "core/editing/VisiblePosition.h" 34 #include "core/editing/VisiblePosition.h"
35 #include "core/editing/VisibleUnits.h" 35 #include "core/editing/VisibleUnits.h"
36 #include "core/editing/htmlediting.h" 36 #include "core/editing/htmlediting.h"
37 #include "core/platform/graphics/LayoutPoint.h" 37 #include "core/platform/graphics/LayoutPoint.h"
38 #include "core/rendering/RenderObject.h" 38 #include "core/rendering/RenderObject.h"
39 #include "wtf/Assertions.h" 39 #include "wtf/Assertions.h"
40 #include "wtf/text/CString.h" 40 #include "wtf/text/CString.h"
41 #include "wtf/text/StringBuilder.h" 41 #include "wtf/text/StringBuilder.h"
42 #include "wtf/unicode/CharacterNames.h" 42 #include "wtf/unicode/CharacterNames.h"
43
44 #ifndef NDEBUG
43 #include <stdio.h> 45 #include <stdio.h>
46 #endif
44 47
45 namespace WebCore { 48 namespace WebCore {
46 49
47 VisibleSelection::VisibleSelection() 50 VisibleSelection::VisibleSelection()
48 : m_affinity(DOWNSTREAM) 51 : m_affinity(DOWNSTREAM)
49 , m_selectionType(NoSelection) 52 , m_selectionType(NoSelection)
50 , m_baseIsFirst(true) 53 , m_baseIsFirst(true)
51 , m_isDirectional(false) 54 , m_isDirectional(false)
52 { 55 {
53 } 56 }
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 sel.showTreeForThis(); 740 sel.showTreeForThis();
738 } 741 }
739 742
740 void showTree(const WebCore::VisibleSelection* sel) 743 void showTree(const WebCore::VisibleSelection* sel)
741 { 744 {
742 if (sel) 745 if (sel)
743 sel->showTreeForThis(); 746 sel->showTreeForThis();
744 } 747 }
745 748
746 #endif 749 #endif
OLDNEW
« no previous file with comments | « Source/core/editing/VisiblePosition.cpp ('k') | Source/core/fetch/MemoryCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698