diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-12 14:47:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-12 14:47:02 -0500 |
commit | b5115fc895bb40bce52d39de65a07160935b15fd (patch) | |
tree | 1cc341c142106dde33c89fbdf83324c2634be721 /components/layout/query.rs | |
parent | 0b2cc910d40aeed81d2de3296d371df4d0e81f60 (diff) | |
parent | 46cadfdd2ce17172fc508e0240b6ac43f5470e10 (diff) | |
download | servo-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.rs | 2 |
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(); |