aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/query.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-06-12 14:47:02 -0500
committerGitHub <noreply@github.com>2016-06-12 14:47:02 -0500
commitb5115fc895bb40bce52d39de65a07160935b15fd (patch)
tree1cc341c142106dde33c89fbdf83324c2634be721 /components/layout/query.rs
parent0b2cc910d40aeed81d2de3296d371df4d0e81f60 (diff)
parent46cadfdd2ce17172fc508e0240b6ac43f5470e10 (diff)
downloadservo-b5115fc895bb40bce52d39de65a07160935b15fd.tar.gz
servo-b5115fc895bb40bce52d39de65a07160935b15fd.zip
Auto merge of #11696 - mrmiywj:rename-to-less-repetitive, r=ConnorGBrewster
use less repetitive name <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11689 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because just renaming <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11696) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/query.rs')
-rw-r--r--components/layout/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/query.rs b/components/layout/query.rs
index 21b0998b1d8..59da80802af 100644
--- a/components/layout/query.rs
+++ b/components/layout/query.rs
@@ -74,7 +74,7 @@ impl LayoutRPC for LayoutRPCImpl {
if update_cursor {
// Compute the new cursor.
let cursor = match *result {
- None => Cursor::DefaultCursor,
+ None => Cursor::Default,
Some(dim) => dim.pointing.unwrap(),
};
rw_data.constellation_chan.send(ConstellationMsg::SetCursor(cursor)).unwrap();