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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/ImagePattern.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/graphics/ImagePattern.h" 5 #include "platform/graphics/ImagePattern.h"
6 6
7 #include "platform/graphics/Image.h" 7 #include "platform/graphics/Image.h"
8 #include "platform/graphics/skia/SkiaUtils.h" 8 #include "platform/graphics/skia/SkiaUtils.h"
9 #include "third_party/skia/include/core/SkCanvas.h" 9 #include "third_party/skia/include/core/SkCanvas.h"
10 #include "third_party/skia/include/core/SkImage.h" 10 #include "third_party/skia/include/core/SkImage.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 RefPtr<SkImage> expandedImage = adoptRef(surface->newImageSnapshot()); 70 RefPtr<SkImage> expandedImage = adoptRef(surface->newImageSnapshot());
71 71
72 return adoptRef(expandedImage->newShader(tileModeX, tileModeY, &localMatrix) ); 72 return adoptRef(expandedImage->newShader(tileModeX, tileModeY, &localMatrix) );
73 } 73 }
74 74
75 bool ImagePattern::isTextureBacked() const 75 bool ImagePattern::isTextureBacked() const
76 { 76 {
77 return m_tileImage && m_tileImage->isTextureBacked(); 77 return m_tileImage && m_tileImage->isTextureBacked();
78 } 78 }
79 79
80 } // namespace 80 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698