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

Side by Side Diff: sky/engine/core/html/canvas/CanvasStyle.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/canvas/CanvasStyle.h ('k') | sky/engine/core/html/canvas/HitRegion.h » ('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) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 case ImagePattern: 265 case ImagePattern:
266 context->setFillPattern(canvasPattern()->pattern()); 266 context->setFillPattern(canvasPattern()->pattern());
267 break; 267 break;
268 case CurrentColor: 268 case CurrentColor:
269 case CurrentColorWithOverrideAlpha: 269 case CurrentColorWithOverrideAlpha:
270 ASSERT_NOT_REACHED(); 270 ASSERT_NOT_REACHED();
271 break; 271 break;
272 } 272 }
273 } 273 }
274 274
275 void CanvasStyle::trace(Visitor* visitor)
276 {
277 visitor->trace(m_gradient);
278 visitor->trace(m_pattern);
279 } 275 }
280
281 }
OLDNEW
« no previous file with comments | « sky/engine/core/html/canvas/CanvasStyle.h ('k') | sky/engine/core/html/canvas/HitRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698