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

Side by Side Diff: Source/core/platform/graphics/skia/PlatformContextSkia.cpp

Issue 14483003: Absolutify paths to platform/chromium, platform/chromium/support, (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008, Google Inc. All rights reserved. 2 * Copyright (c) 2008, 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "skia/ext/image_operations.h" 43 #include "skia/ext/image_operations.h"
44 #include "skia/ext/platform_canvas.h" 44 #include "skia/ext/platform_canvas.h"
45 45
46 #include "SkBitmap.h" 46 #include "SkBitmap.h"
47 #include "SkDashPathEffect.h" 47 #include "SkDashPathEffect.h"
48 #include "SkShader.h" 48 #include "SkShader.h"
49 49
50 #include <wtf/MathExtras.h> 50 #include <wtf/MathExtras.h>
51 #include <wtf/Vector.h> 51 #include <wtf/Vector.h>
52 52
53 #include "TraceEvent.h" 53 #include "core/platform/chromium/TraceEvent.h"
54 54
55 namespace WebCore { 55 namespace WebCore {
56 56
57 struct PlatformContextSkia::DeferredSaveState { 57 struct PlatformContextSkia::DeferredSaveState {
58 DeferredSaveState(unsigned mask, int count) : m_flags(mask), m_restoreCount( count) { } 58 DeferredSaveState(unsigned mask, int count) : m_flags(mask), m_restoreCount( count) { }
59 59
60 unsigned m_flags; 60 unsigned m_flags;
61 int m_restoreCount; 61 int m_restoreCount;
62 }; 62 };
63 63
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 // rendered text cannot be composited correctly when the layer is 487 // rendered text cannot be composited correctly when the layer is
488 // collapsed. Therefore, subpixel text is disabled when we are drawing 488 // collapsed. Therefore, subpixel text is disabled when we are drawing
489 // onto a layer. 489 // onto a layer.
490 if (isDrawingToLayer()) 490 if (isDrawingToLayer())
491 return false; 491 return false;
492 492
493 return m_gc->shouldSmoothFonts(); 493 return m_gc->shouldSmoothFonts();
494 } 494 }
495 495
496 } // namespace WebCore 496 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/skia/NativeImageSkia.cpp ('k') | Source/core/platform/mediastream/MediaStreamCenter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698