Skip to content

Commit

Permalink
Add explicit imports for CoreGraphics in files which use it.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 642360013
  • Loading branch information
Nobody authored and material-automation committed Jun 11, 2024
1 parent dc3dd5d commit e2c6ee0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/PageControl/src/MDCPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#import "MDCPageControl.h"

#import <CoreGraphics/CoreGraphics.h>

#import "private/MDCPageControlIndicator.h"
#import "private/MDCPageControlTrackLayer.h"
#import "private/MaterialPageControlStrings.h"
Expand Down
2 changes: 2 additions & 0 deletions components/PageControl/src/private/MDCPageControlIndicator.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#import "MDCPageControlIndicator.h"

#import <CoreGraphics/CoreGraphics.h>

static const NSTimeInterval kPageControlIndicatorAnimationDuration = 0.3;
static NSString *const kPageControlIndicatorAnimationKey = @"fadeInScaleUp";

Expand Down
2 changes: 2 additions & 0 deletions components/PageControl/src/private/MDCPageControlTrackLayer.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#import "MDCPageControlTrackLayer.h"

#import <CoreGraphics/CoreGraphics.h>

static const NSTimeInterval kPageControlAnimationDuration = 0.2;
static const NSInteger kPageControlKeyframeCount = 2;
static NSString *const kPageControlAnimationKeyDraw = @"drawTrack";
Expand Down
2 changes: 2 additions & 0 deletions components/PageControl/tests/unit/PageControlExampleTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#import "MDCPageControl.h"

#import <CoreGraphics/CoreGraphics.h>

@interface PageControlExampleTests : XCTestCase

@end
Expand Down

0 comments on commit e2c6ee0

Please sign in to comment.